Package jp.vmi.selenium.webdriver
Class PhantomJSDriverFactory
- java.lang.Object
-
- jp.vmi.selenium.webdriver.WebDriverFactory
-
- jp.vmi.selenium.webdriver.PhantomJSDriverFactory
-
@Deprecated public class PhantomJSDriverFactory extends WebDriverFactory
Deprecated.PhantomJS is no longer actively developed, and support will eventually be dropped.Factory ofPhantomJSDriver.
-
-
Field Summary
Fields Modifier and Type Field Description static StringBROWSER_NAMEDeprecated.-
Fields inherited from class jp.vmi.selenium.webdriver.WebDriverFactory
DEFAULT_HEIGHT, DEFAULT_WIDTH
-
-
Constructor Summary
Constructors Constructor Description PhantomJSDriverFactory()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetBrowserName()Deprecated.Get browser name.protected org.openqa.selenium.DimensiongetDefaultWindowSize(org.openqa.selenium.WebDriver driver)Deprecated.org.openqa.selenium.WebDrivernewInstance(DriverOptions driverOptions)Deprecated.Create new WebDriver instance with driver options.-
Methods inherited from class jp.vmi.selenium.webdriver.WebDriverFactory
equals, isProxySupported, newProxy, setInitialWindowSize, setupBuilder, setupProxy, toString
-
-
-
-
Field Detail
-
BROWSER_NAME
public static final String BROWSER_NAME
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getBrowserName
public String getBrowserName()
Deprecated.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)
Deprecated.Description copied from class:WebDriverFactoryCreate new WebDriver instance with driver options.- Specified by:
newInstancein classWebDriverFactory- Parameters:
driverOptions- driver options.- Returns:
- WebDriver instance.
-
getDefaultWindowSize
protected org.openqa.selenium.Dimension getDefaultWindowSize(org.openqa.selenium.WebDriver driver)
Deprecated.- Overrides:
getDefaultWindowSizein classWebDriverFactory
-
-