Interface SupportsAppInstallStrategyOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsAppInstallStrategyOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
APP_INSTALL_STRATEGY_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getAppInstallStrategy()
Get the app install strategy.default T
setAppInstallStrategy(java.lang.String strategy)
Select application installation strategy for real devices.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
APP_INSTALL_STRATEGY_OPTION
static final java.lang.String APP_INSTALL_STRATEGY_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAppInstallStrategy
default T setAppInstallStrategy(java.lang.String strategy)
Select application installation strategy for real devices. The following strategies are supported: * serial (default) - pushes app files to the device in a sequential order; this is the least performant strategy, although the most reliable; * parallel - pushes app files simultaneously; this is usually the most performant strategy, but sometimes could not be very stable; * ios-deploy - tells the driver to use a third-party tool ios-deploy to install the app; obviously the tool must be installed separately first and must be present in PATH before it could be used.- Parameters:
strategy
- App installation strategy.- Returns:
- self instance for chaining.
-
getAppInstallStrategy
default java.util.Optional<java.lang.String> getAppInstallStrategy()
Get the app install strategy.- Returns:
- App installation strategy.
-
-