public class XpiDriverService extends DriverService
Modifier and Type | Class and Description |
---|---|
static class |
XpiDriverService.Builder |
Modifier and Type | Method and Description |
---|---|
static XpiDriverService.Builder |
builder() |
static XpiDriverService |
createDefaultService()
Configures and returns a new
XpiDriverService using the default configuration. |
protected java.net.URL |
getUrl(int port) |
void |
start()
Starts this service if it is not already running.
|
void |
stop()
Stops this service if it is currently running.
|
protected void |
waitUntilAvailable() |
checkExecutable, findExecutable, getOutputStream, getUrl, hasShutdownEndpoint, isRunning, sendOutputTo
protected java.net.URL getUrl(int port) throws java.net.MalformedURLException
getUrl
in class DriverService
java.net.MalformedURLException
public void start() throws java.io.IOException
DriverService
start
in class DriverService
java.io.IOException
- If an error occurs while spawning the child process.DriverService.stop()
protected void waitUntilAvailable() throws java.net.MalformedURLException
waitUntilAvailable
in class DriverService
java.net.MalformedURLException
public void stop()
DriverService
stop
in class DriverService
DriverService.start()
public static XpiDriverService createDefaultService()
XpiDriverService
using the default configuration. In
this configuration, the service will use the firefox executable identified by the
FirefoxDriver.SystemProperty.BROWSER_BINARY
system property on a free port.public static XpiDriverService.Builder builder()