Package jp.vmi.selenium.webdriver
Class RemoteWebDriverFactory
- java.lang.Object
-
- jp.vmi.selenium.webdriver.WebDriverFactory
-
- jp.vmi.selenium.webdriver.RemoteWebDriverFactory
-
public class RemoteWebDriverFactory extends WebDriverFactory
Factory ofRemoteWebDriver.
-
-
Field Summary
Fields Modifier and Type Field Description static StringBROWSER_NAME-
Fields inherited from class jp.vmi.selenium.webdriver.WebDriverFactory
DEFAULT_HEIGHT, DEFAULT_WIDTH
-
-
Constructor Summary
Constructors Constructor Description RemoteWebDriverFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBrowserName()Get browser name.org.openqa.selenium.WebDrivernewInstance(DriverOptions driverOptions)Create new WebDriver instance with driver options.-
Methods inherited from class jp.vmi.selenium.webdriver.WebDriverFactory
equals, getDefaultWindowSize, isProxySupported, newProxy, setInitialWindowSize, setupBuilder, setupProxy, toString
-
-
-
-
Field Detail
-
BROWSER_NAME
public static final String BROWSER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBrowserName
public String getBrowserName()
Description copied from class:WebDriverFactoryGet browser name.- Overrides:
getBrowserNamein classWebDriverFactory- Returns:
- browser name. (i.e. "firefox", "chrome", ...)
-
newInstance
public org.openqa.selenium.WebDriver newInstance(DriverOptions driverOptions)
Description copied from class:WebDriverFactoryCreate new WebDriver instance with driver options.- Specified by:
newInstancein classWebDriverFactory- Parameters:
driverOptions- driver options.- Returns:
- WebDriver instance.
-
-