Type text
type_textInput ASCII text into any focused field by waiting for the soft keyboard to appear before typing. Optionally clear existing content and press ENTER to submit.
Instructions
Type ASCII text into the focused field. Waits for the soft keyboard first, so it is safe to call right after tapping a field. Options: clear the field first, press ENTER after. Non-ASCII characters are not supported by adb input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type (ASCII) | |
| clear | No | Clear the field before typing (select-all + delete) | |
| serial | No | Device serial (defaults to session or the only device) | |
| submit | No | Press ENTER after typing |