Interface SupportsUnlockSuccessTimeoutOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsUnlockSuccessTimeoutOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
UNLOCK_SUCCESS_TIMEOUT_OPTION
-
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 io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
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.
-
-