public class AppiumServerPool
extends java.lang.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 and Type | Method and Description |
---|---|
java.util.Set<java.net.URL> |
getActiveServersInCurrentThread() |
static AppiumServerPool |
instance() |
static AppiumServerPool |
instance(net.thucydides.core.util.EnvironmentVariables environmentVariables) |
void |
shutdownAllServersRunningOnThread(java.lang.Thread thread) |
java.net.URL |
urlFor(java.lang.String deviceName) |
public static AppiumServerPool instance(net.thucydides.core.util.EnvironmentVariables environmentVariables)
public static AppiumServerPool instance()
public java.net.URL urlFor(java.lang.String deviceName)
public void shutdownAllServersRunningOnThread(java.lang.Thread thread)
public java.util.Set<java.net.URL> getActiveServersInCurrentThread()