Interface SupportsAppWaitForLaunchOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
UiAutomator2Options

public interface SupportsAppWaitForLaunchOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<Boolean>
    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 io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • 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 Optional<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.