type
Input text into webpage elements using CSS selectors or element references. Supports trusted keystrokes for controlled inputs and optional clearing or pressing Enter.
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 |