public final class AppiumDriverLocalService
extends org.openqa.selenium.remote.service.DriverService
Modifier and Type | Method and Description |
---|---|
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 URL getUrl()
getUrl
in class org.openqa.selenium.remote.service.DriverService
public boolean isRunning()
isRunning
in class org.openqa.selenium.remote.service.DriverService
public void start() throws AppiumServerHasNotBeenStartedLocallyException
start
in class org.openqa.selenium.remote.service.DriverService
AppiumServerHasNotBeenStartedLocallyException
- If an error occurs while spawning the child process.stop()
public void stop()
stop
in class org.openqa.selenium.remote.service.DriverService
start()
public String getStdOut()
public static AppiumDriverLocalService buildDefaultService()
public static AppiumDriverLocalService buildService(AppiumServiceBuilder builder)
Copyright © 2015. All rights reserved.