Package org.openqa.selenium.firefox.xpi
Class XpiDriverService
- java.lang.Object
-
- org.openqa.selenium.remote.service.DriverService
-
- org.openqa.selenium.firefox.FirefoxDriverService
-
- org.openqa.selenium.firefox.xpi.XpiDriverService
-
public class XpiDriverService extends org.openqa.selenium.firefox.FirefoxDriverService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XpiDriverService.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XpiDriverService.Builder
builder()
static XpiDriverService
createDefaultService()
Configures and returns a newXpiDriverService
using the default configuration.protected java.net.URL
getUrl(int port)
void
start()
void
stop()
protected void
waitUntilAvailable()
-
-
-
Method Detail
-
getUrl
protected java.net.URL getUrl(int port) throws java.net.MalformedURLException
- Overrides:
getUrl
in classorg.openqa.selenium.remote.service.DriverService
- Throws:
java.net.MalformedURLException
-
start
public void start() throws java.io.IOException
- Overrides:
start
in classorg.openqa.selenium.remote.service.DriverService
- Throws:
java.io.IOException
-
waitUntilAvailable
protected void waitUntilAvailable()
- Overrides:
waitUntilAvailable
in classorg.openqa.selenium.remote.service.DriverService
-
stop
public void stop()
- Overrides:
stop
in classorg.openqa.selenium.remote.service.DriverService
-
createDefaultService
public static XpiDriverService createDefaultService()
Configures and returns a newXpiDriverService
using the default configuration. In this configuration, the service will use the firefox executable identified by theFirefoxDriver.SystemProperty.BROWSER_BINARY
system property on a free port.- Returns:
- A new XpiDriverService using the default configuration.
-
builder
public static XpiDriverService.Builder builder()
-
-