Interface SupportsAppWaitActivityOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getAppWaitActivity()
      Get the name of the app activity to wait for.
      default T setAppWaitActivity​(java.lang.String appWaitActivity)
      Identifier of the activity that the driver should wait for (not necessarily the main one).
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • APP_WAIT_ACTIVITY_OPTION

        static final java.lang.String APP_WAIT_ACTIVITY_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setAppWaitActivity

        default T setAppWaitActivity​(java.lang.String appWaitActivity)
        Identifier of the activity that the driver should wait for (not necessarily the main one). If not provided then defaults to appium:appActivity.
        Parameters:
        appWaitActivity - Fully qualified app activity class name.
        Returns:
        self instance for chaining.
      • getAppWaitActivity

        default java.util.Optional<java.lang.String> getAppWaitActivity()
        Get the name of the app activity to wait for.
        Returns:
        Activity class name.