public class Configuration extends Object
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.WebDriver |
driver
The current driver
|
protected DriverFactory |
factory
Custom factory to create the driver
|
protected String |
home
Initial URL (the one to be used by the home page)
|
protected Class<? extends WebPage> |
homePageClass
The home page class
|
Constructor and Description |
---|
Configuration(DriverFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected org.openqa.selenium.WebDriver |
createDriver() |
protected void |
disposeDriver(org.openqa.selenium.WebDriver driver) |
BrowserFamily |
getBrowserFamily() |
org.openqa.selenium.WebDriver |
getDriver() |
DriverFactory |
getFactory() |
String |
getHome() |
Class<? extends WebPage> |
getHomePageClass() |
void |
home() |
void |
resetDriver() |
void |
setFactory(DriverFactory factory) |
void |
setHome(String url) |
void |
setHomePageClass(Class<? extends WebPage> homePageClass) |
protected org.openqa.selenium.WebDriver driver
protected DriverFactory factory
protected Class<? extends WebPage> homePageClass
public Configuration(DriverFactory factory)
protected org.openqa.selenium.WebDriver createDriver()
protected void disposeDriver(org.openqa.selenium.WebDriver driver)
public BrowserFamily getBrowserFamily()
public void setFactory(DriverFactory factory)
public DriverFactory getFactory()
public void setHomePageClass(Class<? extends WebPage> homePageClass)
public Class<? extends WebPage> getHomePageClass()
public void home()
public org.openqa.selenium.WebDriver getDriver()
public void resetDriver()
Copyright © 2016 Nuxeo SA. All rights reserved.