Interface SupportsAppInstallStrategyOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, 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 final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<String>
    Get the app install strategy.
    default T
    Select application installation strategy for real devices.

    Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • setAppInstallStrategy

      default T setAppInstallStrategy(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 Optional<String> getAppInstallStrategy()
      Get the app install strategy.
      Returns:
      App installation strategy.