Interface SupportsAppWaitDurationOption<T extends BaseOptions<T>>

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

public interface SupportsAppWaitDurationOption<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
    Get the identifier of the app package to wait for.
    default T
    setAppWaitDuration(Duration appWaitDuration)
    Maximum amount of time to wait until the application under test is started (e.g.

    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

    • setAppWaitDuration

      default T setAppWaitDuration(Duration appWaitDuration)
      Maximum amount of time to wait until the application under test is started (e.g. an activity returns the control to the caller). 20000 ms by default.
      Parameters:
      appWaitDuration - Package identifier to wait for.
      Returns:
      self instance for chaining.
    • getAppWaitDuration

      default Optional<Duration> getAppWaitDuration()
      Get the identifier of the app package to wait for.
      Returns:
      Package identifier.