Interface SupportsAppOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
EspressoOptions, UiAutomator2Options, WindowsOptions, XCUITestOptions

public interface SupportsAppOption<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 location.
    default T
    setApp(String path)
    Set the absolute local path for the location of the App.
    default T
    setApp(URL url)
    Set the remote http URL for the location of the App.

    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

    • setApp

      default T setApp(String path)
      Set the absolute local path for the location of the App. The app must be located on the same machine where Appium server is running.
      Parameters:
      path - is a String representing the location of the App
      Returns:
      self instance for chaining.
    • setApp

      default T setApp(URL url)
      Set the remote http URL for the location of the App.
      Parameters:
      url - is the URL representing the location of the App
      Returns:
      self instance for chaining.
    • getApp

      default Optional<String> getApp()
      Get the app location.
      Returns:
      String representing app location