Interface SupportsAppWaitForLaunchOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Boolean> doesAppWaitForLaunch()
      Get whether to block until the app under test returns the control to the caller after its activity has been started by Activity Manager.
      default T setAppWaitForLaunch​(boolean value)
      Whether to block until the app under test returns the control to the caller after its activity has been started by Activity Manager (true, the default value) or to continue the test without waiting for that (false).
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • APP_WAIT_FOR_LAUNCH_OPTION

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

      • setAppWaitForLaunch

        default T setAppWaitForLaunch​(boolean value)
        Whether to block until the app under test returns the control to the caller after its activity has been started by Activity Manager (true, the default value) or to continue the test without waiting for that (false).
        Parameters:
        value - Set to false if you don't want to wait for the app to finish its launch.
        Returns:
        self instance for chaining.
      • doesAppWaitForLaunch

        default java.util.Optional<java.lang.Boolean> doesAppWaitForLaunch()
        Get whether to block until the app under test returns the control to the caller after its activity has been started by Activity Manager.
        Returns:
        True if the driver should block or false otherwise.