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