appium_mobile_keyboard
Hide the software keyboard or check its visibility in Android UiAutomator2 and iOS XCUITest sessions to keep mobile UI automation stable.
Instructions
Hide the software keyboard or check if it is visible (Android UiAutomator2 / iOS XCUITest). action=hide uses mobile: hideKeyboard; action=is_shown uses mobile: isKeyboardShown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | hide only: optional key names to dismiss the keyboard (e.g. "done"). Forwarded to mobile: hideKeyboard when non-empty. Ignored for is_shown. | |
| action | Yes | hide: dismiss the software keyboard (mobile: hideKeyboard). is_shown: whether the keyboard is visible (mobile: isKeyboardShown). | |
| sessionId | No | Session ID; defaults to the active session. |