Class AppiumDevicePool
java.lang.Object
net.serenitybdd.core.webdriver.appium.AppiumDevicePool
Manage Appium servers for multiple devices.
Used for parallel testing of Appium.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
clear()
void
freeDevice
(String deviceName) boolean
boolean
static AppiumDevicePool
instance()
static AppiumDevicePool
instance
(EnvironmentVariables environmentVariables) int
-
Constructor Details
-
AppiumDevicePool
-
-
Method Details
-
instance
-
instance
-
hasMultipleDevices
public boolean hasMultipleDevices() -
hasOnlyOneDevice
public boolean hasOnlyOneDevice() -
clear
public static void clear() -
getAvailableDevices
-
freeDevice
-
requestDevice
-
portFor
-