keyboard_show
Opens the iOS keyboard on a field by scrolling to it and tapping it with a real touch, then waits for the viewport to shrink. Use when script focus() fails to show the keyboard.
Instructions
Open the keyboard on a field with a real tap (script focus() does not open it on iOS): scrolls the field into view, finds where it is on the screen, taps it, and waits until the visual viewport has shrunk. Returns the state with the keyboard up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | index in inspector_pages; default the first page with a real address | |
| wait | No | seconds to wait for the page list, default 60 | |
| index | No | which match, default 0 | |
| scroll | No | scroll the field to the middle first, default true | |
| timeout | No | seconds to wait for the keyboard, default 120 | |
| selector | Yes | CSS selector of the element |