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<?> |
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<?> |
getHomePageClass() |
void |
home() |
void |
resetDriver() |
void |
setFactory(DriverFactory factory) |
void |
setHome(String url) |
void |
setHomePageClass(Class<?> homePageClass) |
protected org.openqa.selenium.WebDriver driver
protected DriverFactory factory
protected Class<?> 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<?> homePageClass)
public Class<?> getHomePageClass()
public void home()
public org.openqa.selenium.WebDriver getDriver()
public void resetDriver()
Copyright © 2015 Nuxeo SA. All rights reserved.