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_PROPERTY
Fields inherited from class org.openqa.selenium.remote.service.DriverService
process
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.firefox.GeckoDriverService
createThreadsafeService
(EnvironmentVariables environmentVariables) protected org.openqa.selenium.firefox.GeckoDriverService
getUrl()
boolean
void
start()
void
stop()
Methods inherited from class org.openqa.selenium.firefox.GeckoDriverService
createDefaultService, hasShutdownEndpoint, waitUntilAvailable
Methods 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:
getUrl
in classorg.openqa.selenium.remote.service.DriverService
-
isRunning
public boolean isRunning()- Overrides:
isRunning
in classorg.openqa.selenium.remote.service.DriverService
-
start
- Overrides:
start
in classorg.openqa.selenium.remote.service.DriverService
- Throws:
IOException
-
stop
public void stop()- Overrides:
stop
in classorg.openqa.selenium.remote.service.DriverService
-