Interface SupportsAppPackageOption<T extends BaseOptions<T>>

    • Field Summary

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

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getAppPackage()
      Get the app package identifier.
      default T setAppPackage​(java.lang.String appPackage)
      Application package identifier to be started.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

    • Method Detail

      • setAppPackage

        default T setAppPackage​(java.lang.String appPackage)
        Application package identifier to be started. If not provided then UiAutomator2 will try to detect it automatically from the package provided by the app capability.
        Parameters:
        appPackage - App package identifier.
        Returns:
        self instance for chaining.
      • getAppPackage

        default java.util.Optional<java.lang.String> getAppPackage()
        Get the app package identifier.
        Returns:
        Identifier value.