Class ChromeServicePool
- java.lang.Object
-
- net.serenitybdd.core.webdriver.servicepools.DriverServicePool<org.openqa.selenium.chrome.ChromeDriverService>
-
- net.serenitybdd.core.webdriver.servicepools.ChromeServicePool
-
public class ChromeServicePool extends DriverServicePool<org.openqa.selenium.chrome.ChromeDriverService>
-
-
Field Summary
-
Fields inherited from class net.serenitybdd.core.webdriver.servicepools.DriverServicePool
environmentVariables
-
-
Constructor Summary
Constructors Constructor Description ChromeServicePool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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.chrome.ChromeDriverService
newDriverService()
protected String
serviceName()
-
Methods inherited from class net.serenitybdd.core.webdriver.servicepools.DriverServicePool
ensureServiceIsRunning, getDriverService, isRunning, newDriver, shutdown, start
-
-
-
-
Method Detail
-
serviceName
protected String serviceName()
- Specified by:
serviceName
in classDriverServicePool<org.openqa.selenium.chrome.ChromeDriverService>
-
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.chrome.ChromeDriverService>
-
newDriverService
protected org.openqa.selenium.chrome.ChromeDriverService newDriverService()
- Specified by:
newDriverService
in classDriverServicePool<org.openqa.selenium.chrome.ChromeDriverService>
-
-