Interface SupportsUnlockSuccessTimeoutOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsUnlockSuccessTimeoutOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the timeout to wait until the device is unlocked.default TsetUnlockSuccessTimeout(Duration timeout) Maximum timeout to wait until the device is unlocked.Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
UNLOCK_SUCCESS_TIMEOUT_OPTION
- See Also:
-
-
Method Details
-
setUnlockSuccessTimeout
Maximum timeout to wait until the device is unlocked. 2000 ms by default.- Parameters:
timeout- Timeout value.- Returns:
- self instance for chaining.
-
getUnlockSuccessTimeout
Get the timeout to wait until the device is unlocked.- Returns:
- The timeout value.
-