|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.webdriver.impl.WebDriverFactoryChrome
public class WebDriverFactoryChrome
A helper class for Chrome WebDriver. Set the paths required.
| Field Summary | |
|---|---|
protected String |
chrome
The path Chrome path. |
protected String |
driver
The driver path. |
static String |
FEATURE_CHROME
Feature to set Chrome path. |
static String |
FEATURE_DRIVER
Feature to set web driver path. |
static String |
FEATURE_SWITCHES
Feature to set Chrome switches options. |
protected String |
switches
The switches options. |
| Constructor Summary | |
|---|---|
WebDriverFactoryChrome()
Default constructor. |
|
| Method Summary | |
|---|---|
org.openqa.selenium.WebDriver |
create(IContext context)
Create a WebDriver. |
String |
getChrome()
Gets the Chrome path. |
String |
getDriver()
Gets the driver path. |
String |
getSwitches()
Gets the switches. |
void |
setChrome(String chrome)
Sets the Chrome path. |
void |
setDriver(String driver)
Sets the driver path. |
void |
setSwitches(String switches)
Sets the switches. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FEATURE_CHROME
protected String chrome
public static final String FEATURE_DRIVER
protected String driver
public static final String FEATURE_SWITCHES
protected String switches
| Constructor Detail |
|---|
public WebDriverFactoryChrome()
| Method Detail |
|---|
public String getChrome()
public void setChrome(String chrome)
chrome - The path.public String getDriver()
public void setDriver(String driver)
driver - The path.public String getSwitches()
public void setSwitches(String switches)
switches - The switches.
public org.openqa.selenium.WebDriver create(IContext context)
throws PluginException
IWebDriverFactory
create in interface IWebDriverFactorycontext - The context.
PluginException - On creation errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||