Interface SupportsAppOption<T extends BaseOptions<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String APP_OPTION  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getApp()
      Get the app location.
      default T setApp​(java.lang.String path)
      Set the absolute local path for the location of the App.
      default T setApp​(java.net.URL url)
      Set the remote http URL for the location of the App.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
    • Method Detail

      • setApp

        default T setApp​(java.lang.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​(java.net.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 java.util.Optional<java.lang.String> getApp()
        Get the app location.
        Returns:
        String representing app location