public final class AppiumDriverLocalService
extends org.openqa.selenium.remote.service.DriverService
| Modifier and Type | Method and Description |
|---|---|
void |
addOutPutStream(OutputStream outputStream)
Adds other output stream which should accept server output data
|
void |
addOutPutStreams(List<OutputStream> outputStreams)
Adds other output streams which should accept server output data
|
static AppiumDriverLocalService |
buildDefaultService() |
static AppiumDriverLocalService |
buildService(AppiumServiceBuilder builder) |
String |
getStdOut() |
URL |
getUrl() |
boolean |
isRunning() |
void |
start()
Starts the defined appium server
|
void |
stop()
Stops this service is it is currently running.
|
public static AppiumDriverLocalService buildDefaultService()
public static AppiumDriverLocalService buildService(AppiumServiceBuilder builder)
public URL getUrl()
getUrl in class org.openqa.selenium.remote.service.DriverServicepublic boolean isRunning()
isRunning in class org.openqa.selenium.remote.service.DriverServicepublic void start()
throws AppiumServerHasNotBeenStartedLocallyException
start in class org.openqa.selenium.remote.service.DriverServiceAppiumServerHasNotBeenStartedLocallyException - If an error occurs while spawning the child process.stop()public void stop()
stop in class org.openqa.selenium.remote.service.DriverServicestart()public String getStdOut()
public void addOutPutStream(OutputStream outputStream)
outputStream - is an instance of OutputStream
that is ready to accept server outputpublic void addOutPutStreams(List<OutputStream> outputStreams)
outputStreams - is a list of additional OutputStream
that are ready to accept server outputCopyright © 2016. All rights reserved.