Class ThreadsafeGeckoDriverService
java.lang.Object
org.openqa.selenium.remote.service.DriverService
org.openqa.selenium.firefox.GeckoDriverService
net.serenitybdd.core.webdriver.servicepools.ThreadsafeGeckoDriverService
public class ThreadsafeGeckoDriverService
extends org.openqa.selenium.firefox.GeckoDriverService
Used as a wrapper around the GeckoDriverService to make it behave in a Threadsafe manner
like all the other DriverService implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openqa.selenium.firefox.GeckoDriverService
org.openqa.selenium.firefox.GeckoDriverService.Builder -
Field Summary
Fields inherited from class org.openqa.selenium.firefox.GeckoDriverService
GECKO_DRIVER_EXE_PROPERTYFields inherited from class org.openqa.selenium.remote.service.DriverService
process -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.firefox.GeckoDriverServicecreateThreadsafeService(EnvironmentVariables environmentVariables) protected org.openqa.selenium.firefox.GeckoDriverServicegetUrl()booleanvoidstart()voidstop()Methods inherited from class org.openqa.selenium.firefox.GeckoDriverService
createDefaultService, hasShutdownEndpoint, waitUntilAvailableMethods inherited from class org.openqa.selenium.remote.service.DriverService
checkExecutable, findExecutable, getArgs, getEnvironment, getOutputStream, getUrl, sendOutputTo
-
Constructor Details
-
ThreadsafeGeckoDriverService
- Throws:
IOException
-
-
Method Details
-
createThreadsafeService
public static org.openqa.selenium.firefox.GeckoDriverService createThreadsafeService(EnvironmentVariables environmentVariables) -
getThreadlocalGeckoService
protected org.openqa.selenium.firefox.GeckoDriverService getThreadlocalGeckoService() -
getUrl
- Overrides:
getUrlin classorg.openqa.selenium.remote.service.DriverService
-
isRunning
public boolean isRunning()- Overrides:
isRunningin classorg.openqa.selenium.remote.service.DriverService
-
start
- Overrides:
startin classorg.openqa.selenium.remote.service.DriverService- Throws:
IOException
-
stop
public void stop()- Overrides:
stopin classorg.openqa.selenium.remote.service.DriverService
-