Class AppiumServerPool
java.lang.Object
net.serenitybdd.core.webdriver.appium.AppiumServerPool
The Appium Service pool is responsible for starting up and shutting down Appium servers.
A server is associated with a device.
- If a single deviceName is specified along with a hub, the specified hub will be used - If only a single deviceName is specified, the default hub will be used - If a set of device names are specified, a new service will be started for each device If the appium.hub property is defined, the service is assumed to be running before the test starts. Otherwise, a new server will be started.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AppiumServerPool
(EnvironmentVariables environmentVariables) -
Method Summary
Modifier and TypeMethodDescriptionstatic AppiumServerPool
instance()
static AppiumServerPool
instance
(EnvironmentVariables environmentVariables) void
-
Constructor Details
-
AppiumServerPool
-
-
Method Details
-
instance
-
instance
-
urlFor
-
shutdownAllServersRunningOnThread
-
getActiveServersInCurrentThread
-