Interface SupportsForceSimulatorSoftwareKeyboardPresenceOption<T extends BaseOptions<T>>

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

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

    • FORCE_SIMULATOR_SOFTWARE_KEYBOARD_PRESENCE_OPTION

      static final String FORCE_SIMULATOR_SOFTWARE_KEYBOARD_PRESENCE_OPTION
      See Also:
  • Method Details

    • forceSimulatorSoftwareKeyboardPresence

      default T forceSimulatorSoftwareKeyboardPresence()
      Enforce software keyboard presence.
      Returns:
      self instance for chaining.
    • setForceSimulatorSoftwareKeyboardPresence

      default T setForceSimulatorSoftwareKeyboardPresence(boolean value)
      Set this option to true in order to turn software keyboard on and turn hardware keyboard off in Simulator since Appium 1.22.0. This option helps to avoid Keyboard is not present error. It is set to true by default. Appium respects preset simulator software/hardware keyboard preference when this value is false, so connectHardwareKeyboard: false and forceSimulatorSoftwareKeyboardPresence: false means for Appium to keep the current Simulator keyboard preferences. This option has priority over connectHardwareKeyboard.
      Parameters:
      value - Whether to enforce software keyboard presence.
      Returns:
      self instance for chaining.
    • doesForceSimulatorSoftwareKeyboardPresence

      default Optional<Boolean> doesForceSimulatorSoftwareKeyboardPresence()
      Get to enforce software keyboard presence.
      Returns:
      True or false.