Interface SupportsUnlockKeyOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
EspressoOptions, UiAutomator2Options

public interface SupportsUnlockKeyOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<String>
    Get the unlock key.
    default T
    setUnlockKey(String unlockKey)
    Allows to set an unlock key.

    Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • setUnlockKey

      default T setUnlockKey(String unlockKey)
      Allows to set an unlock key. Read [Unlock tutorial](https://github.com/appium/appium-android-driver/blob/master/docs/UNLOCK.md) for more details.
      Parameters:
      unlockKey - The unlock key.
      Returns:
      self instance for chaining.
    • getUnlockKey

      default Optional<String> getUnlockKey()
      Get the unlock key.
      Returns:
      Unlock key.