Interface SupportsAppActivityOption<T extends BaseOptions<T>>

    • Field Summary

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

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getAppActivity()
      Get the name of the main app activity.
      default T setAppActivity​(java.lang.String appActivity)
      Main application activity identifier.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

    • Method Detail

      • setAppActivity

        default T setAppActivity​(java.lang.String appActivity)
        Main application activity identifier. If not provided then UiAutomator2 will try to detect it automatically from the package provided by the app capability.
        Parameters:
        appActivity - Fully qualified app activity class name.
        Returns:
        self instance for chaining.
      • getAppActivity

        default java.util.Optional<java.lang.String> getAppActivity()
        Get the name of the main app activity.
        Returns:
        Activity class name.