Interface SupportsUnlockStrategyOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getUnlockStrategy()
      Get the strategy key.
      default T setUnlockStrategy​(java.lang.String strategy)
      Either 'locksettings' (default) or 'uiautomator'.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • UNLOCK_STRATEGY_OPTION

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

      • setUnlockStrategy

        default T setUnlockStrategy​(java.lang.String strategy)
        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

        default java.util.Optional<java.lang.String> getUnlockStrategy()
        Get the strategy key.
        Returns:
        Unlock strategy.