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.
-
-
Constructor Summary
Constructors Constructor Description ThreadsafeGeckoDriverService(EnvironmentVariables environmentVariables)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.openqa.selenium.firefox.GeckoDriverService
createThreadsafeService(EnvironmentVariables environmentVariables)
protected org.openqa.selenium.firefox.GeckoDriverService
getThreadlocalGeckoService()
URL
getUrl()
boolean
isRunning()
void
start()
void
stop()
-
Methods inherited from class org.openqa.selenium.firefox.GeckoDriverService
createDefaultService, hasShutdownEndpoint, waitUntilAvailable
-
-
-
-
Constructor Detail
-
ThreadsafeGeckoDriverService
public ThreadsafeGeckoDriverService(EnvironmentVariables environmentVariables) throws IOException
- Throws:
IOException
-
-
Method Detail
-
createThreadsafeService
public static org.openqa.selenium.firefox.GeckoDriverService createThreadsafeService(EnvironmentVariables environmentVariables)
-
getThreadlocalGeckoService
protected org.openqa.selenium.firefox.GeckoDriverService getThreadlocalGeckoService()
-
getUrl
public URL getUrl()
- Overrides:
getUrl
in classorg.openqa.selenium.remote.service.DriverService
-
isRunning
public boolean isRunning()
- Overrides:
isRunning
in classorg.openqa.selenium.remote.service.DriverService
-
start
public void start() throws IOException
- Overrides:
start
in classorg.openqa.selenium.remote.service.DriverService
- Throws:
IOException
-
stop
public void stop()
- Overrides:
stop
in classorg.openqa.selenium.remote.service.DriverService
-
-