Interface SupportsUnlockStrategyOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsUnlockStrategyOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the strategy key.default TsetUnlockStrategy(String strategy) Either 'locksettings' (default) or 'uiautomator'.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_STRATEGY_OPTION
- See Also:
-
-
Method Details
-
setUnlockStrategy
Either 'locksettings' (default) or 'uiautomator'. Setting it to 'uiautomator' will enforce the driver to avoid using special ADB shortcuts in order to speed up the unlock procedure.- Parameters:
strategy- The unlock strategy.- Returns:
- self instance for chaining.
-
getUnlockStrategy
Get the strategy key.- Returns:
- Unlock strategy.
-