public final class AppiumDriverLocalService
extends org.openqa.selenium.remote.service.DriverService
| Modifier and Type | Method and Description |
|---|---|
void |
addOutPutStream(OutputStream outputStream) |
void |
addOutPutStreams(List<OutputStream> outputStreams) |
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)
public void addOutPutStreams(List<OutputStream> outputStreams)
Copyright © 2016. All rights reserved.