Interface SupportsAppWaitDurationOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.time.Duration> getAppWaitDuration()
      Get the identifier of the app package to wait for.
      default T setAppWaitDuration​(java.time.Duration appWaitDuration)
      Maximum amount of time to wait until the application under test is started (e.g.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • APP_WAIT_DURATION_OPTION

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

      • setAppWaitDuration

        default T setAppWaitDuration​(java.time.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 java.util.Optional<java.time.Duration> getAppWaitDuration()
        Get the identifier of the app package to wait for.
        Returns:
        Package identifier.