public abstract class WebDriverFactory extends Object
WebDrivers.| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_HEIGHT |
protected static int |
DEFAULT_WIDTH |
| Constructor and Description |
|---|
WebDriverFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBrowserName()
Get browser name.
|
protected org.openqa.selenium.Dimension |
getDefaultWindowSize(org.openqa.selenium.WebDriver driver) |
boolean |
isProxySupported()
Is proxy supported?
|
abstract org.openqa.selenium.WebDriver |
newInstance(DriverOptions driverOptions)
Create new WebDriver instance with driver options.
|
protected void |
setInitialWindowSize(org.openqa.selenium.WebDriver driver,
DriverOptions driverOptions) |
protected org.openqa.selenium.remote.DesiredCapabilities |
setupProxy(org.openqa.selenium.remote.DesiredCapabilities caps,
DriverOptions driverOptions) |
String |
toString() |
protected static final int DEFAULT_WIDTH
protected static final int DEFAULT_HEIGHT
public String getBrowserName()
public boolean isProxySupported()
protected org.openqa.selenium.remote.DesiredCapabilities setupProxy(org.openqa.selenium.remote.DesiredCapabilities caps,
DriverOptions driverOptions)
public abstract org.openqa.selenium.WebDriver newInstance(DriverOptions driverOptions)
driverOptions - driver options.protected void setInitialWindowSize(org.openqa.selenium.WebDriver driver,
DriverOptions driverOptions)
protected org.openqa.selenium.Dimension getDefaultWindowSize(org.openqa.selenium.WebDriver driver)
Copyright © 2017. All rights reserved.