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 classXpiDriverService.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XpiDriverService.Builderbuilder()static XpiDriverServicecreateDefaultService()Configures and returns a newXpiDriverServiceusing the default configuration.protected java.net.URLgetUrl(int port)voidstart()voidstop()protected voidwaitUntilAvailable()
-
-
-
Method Detail
-
getUrl
protected java.net.URL getUrl(int port) throws java.net.MalformedURLException- Overrides:
getUrlin classorg.openqa.selenium.remote.service.DriverService- Throws:
java.net.MalformedURLException
-
start
public void start() throws java.io.IOException- Overrides:
startin classorg.openqa.selenium.remote.service.DriverService- Throws:
java.io.IOException
-
waitUntilAvailable
protected void waitUntilAvailable()
- Overrides:
waitUntilAvailablein classorg.openqa.selenium.remote.service.DriverService
-
stop
public void stop()
- Overrides:
stopin classorg.openqa.selenium.remote.service.DriverService
-
createDefaultService
public static XpiDriverService createDefaultService()
Configures and returns a newXpiDriverServiceusing the default configuration. In this configuration, the service will use the firefox executable identified by theFirefoxDriver.SystemProperty.BROWSER_BINARYsystem property on a free port.- Returns:
- A new XpiDriverService using the default configuration.
-
builder
public static XpiDriverService.Builder builder()
-
-