Interface SupportsAppInstallStrategyOption<T extends BaseOptions<T>>

    • 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 org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • 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.