type
Enter text into web page elements, with support for trusted keystrokes that work on React/Vue controlled inputs. Resolves issues with frameworks that ignore programmatic input.
Instructions
Type text into an element. trusted=true sends real keystrokes (works on React/Vue controlled inputs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from a prior read (exactly one of selector|ref) | |
| text | Yes | ||
| clear | No | ||
| tabId | No | Target tab id (defaults to the active tab) | |
| trusted | No | ||
| selector | No | CSS selector (exactly one of selector|ref) | |
| keyEvents | No | ||
| pressEnter | No |