Interface SupportsUnlockSuccessTimeoutOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.time.Duration> getUnlockSuccessTimeout()
      Get the timeout to wait until the device is unlocked.
      default T setUnlockSuccessTimeout​(java.time.Duration timeout)
      Maximum timeout to wait until the device is unlocked.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • UNLOCK_SUCCESS_TIMEOUT_OPTION

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

      • setUnlockSuccessTimeout

        default T setUnlockSuccessTimeout​(java.time.Duration timeout)
        Maximum timeout to wait until the device is unlocked. 2000 ms by default.
        Parameters:
        timeout - Timeout value.
        Returns:
        self instance for chaining.
      • getUnlockSuccessTimeout

        default java.util.Optional<java.time.Duration> getUnlockSuccessTimeout()
        Get the timeout to wait until the device is unlocked.
        Returns:
        The timeout value.