Class GeckoServicePool
java.lang.Object
net.serenitybdd.core.webdriver.servicepools.DriverServicePool<org.openqa.selenium.firefox.GeckoDriverService>
net.serenitybdd.core.webdriver.servicepools.GeckoServicePool
public class GeckoServicePool
extends DriverServicePool<org.openqa.selenium.firefox.GeckoDriverService>
-
Field Summary
Fields inherited from class net.serenitybdd.core.webdriver.servicepools.DriverServicePool
environmentVariables
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.openqa.selenium.WebDriver
newDriverInstance
(org.openqa.selenium.Capabilities capabilities) Used as a fallback if the driver service cannot be used for some reason.protected org.openqa.selenium.firefox.GeckoDriverService
protected String
Methods inherited from class net.serenitybdd.core.webdriver.servicepools.DriverServicePool
ensureServiceIsRunning, getDriverService, isRunning, newDriver, shutdown, start
-
Constructor Details
-
GeckoServicePool
public GeckoServicePool()
-
-
Method Details
-
serviceName
- Specified by:
serviceName
in classDriverServicePool<org.openqa.selenium.firefox.GeckoDriverService>
-
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 classDriverServicePool<org.openqa.selenium.firefox.GeckoDriverService>
-
newDriverService
protected org.openqa.selenium.firefox.GeckoDriverService newDriverService()- Specified by:
newDriverService
in classDriverServicePool<org.openqa.selenium.firefox.GeckoDriverService>
-