public class AppiumServerPool extends Object
- 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.
Modifier | Constructor and Description |
---|---|
protected |
AppiumServerPool(EnvironmentVariables environmentVariables) |
Modifier and Type | Method and Description |
---|---|
Set<URL> |
getActiveServersInCurrentThread() |
static AppiumServerPool |
instance() |
static AppiumServerPool |
instance(EnvironmentVariables environmentVariables) |
void |
shutdownAllServersRunningOnThread(Thread thread) |
URL |
urlFor(String deviceName) |
protected AppiumServerPool(EnvironmentVariables environmentVariables)
public static AppiumServerPool instance(EnvironmentVariables environmentVariables)
public static AppiumServerPool instance()
public void shutdownAllServersRunningOnThread(Thread thread)
Copyright © 2021. All rights reserved.