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 is it is currently running.
|
protected void |
waitUntilAvailable() |
checkExecutable, findExecutable, getOutputStream, getUrl, isRunning, sendOutputToprotected java.net.URL getUrl(int port)
throws java.net.MalformedURLException
getUrl in class DriverServicejava.net.MalformedURLExceptionpublic void start()
throws java.io.IOException
DriverServicestart in class DriverServicejava.io.IOException - If an error occurs while spawning the child process.DriverService.stop()protected void waitUntilAvailable()
throws java.net.MalformedURLException
waitUntilAvailable in class DriverServicejava.net.MalformedURLExceptionpublic void stop()
DriverServicestop in class DriverServiceDriverService.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()