Interface SupportsUnlockTypeOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsUnlockTypeOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the unlock type.default TsetUnlockType(String unlockType) Set one of the possible types of Android lock screens to unlock.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_TYPE_OPTION
- See Also:
-
-
Method Details
-
setUnlockType
Set one of the possible types of Android lock screens to unlock. Read the [Unlock tutorial](https://github.com/appium/appium-android-driver/blob/master/docs/UNLOCK.md) for more details.- Parameters:
unlockType- One of possible unlock types.- Returns:
- self instance for chaining.
-
getUnlockType
Get the unlock type.- Returns:
- Unlock type.
-