Class PhantomJSServicePool

java.lang.Object
net.serenitybdd.core.webdriver.servicepools.DriverServicePool<org.openqa.selenium.phantomjs.PhantomJSDriverService>
net.serenitybdd.core.webdriver.servicepools.PhantomJSServicePool

public class PhantomJSServicePool
extends DriverServicePool<org.openqa.selenium.phantomjs.PhantomJSDriverService>
  • Constructor Details

    • PhantomJSServicePool

      public PhantomJSServicePool()
  • Method Details

    • newDriverService

      protected org.openqa.selenium.phantomjs.PhantomJSDriverService newDriverService()
      Specified by:
      newDriverService in class DriverServicePool<org.openqa.selenium.phantomjs.PhantomJSDriverService>
    • serviceName

      protected java.lang.String serviceName()
      Specified by:
      serviceName in class DriverServicePool<org.openqa.selenium.phantomjs.PhantomJSDriverService>
    • newDriverInstance

      protected org.openqa.selenium.WebDriver newDriverInstance​(org.openqa.selenium.Capabilities capabilities)
      Description copied from class: DriverServicePool
      Used as a fallback if the driver service cannot be used for some reason.
      Specified by:
      newDriverInstance in class DriverServicePool<org.openqa.selenium.phantomjs.PhantomJSDriverService>