Class PhantomJSDriverFactory


  • @Deprecated
    public class PhantomJSDriverFactory
    extends WebDriverFactory
    Deprecated.
    PhantomJS is no longer actively developed, and support will eventually be dropped.
    Factory of PhantomJSDriver.
    • Constructor Detail

      • PhantomJSDriverFactory

        public PhantomJSDriverFactory()
        Deprecated.
    • Method Detail

      • newInstance

        public org.openqa.selenium.WebDriver newInstance​(DriverOptions driverOptions)
        Deprecated.
        Description copied from class: WebDriverFactory
        Create new WebDriver instance with driver options.
        Specified by:
        newInstance in class WebDriverFactory
        Parameters:
        driverOptions - driver options.
        Returns:
        WebDriver instance.
      • getDefaultWindowSize

        protected org.openqa.selenium.Dimension getDefaultWindowSize​(org.openqa.selenium.WebDriver driver)
        Deprecated.
        Overrides:
        getDefaultWindowSize in class WebDriverFactory