type
Enter text into a specified input field by ref or CSS selector, with optional clearing before entry. Supports stable element selection for reliable browser automation.
Instructions
Type text into an input identified by ref or CSS selector. For 2+ fields use fill_form; for special keys (Enter, Escape, Tab, arrows) or shortcuts (Ctrl+K) use press_key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref (preferred) | |
| text | Yes | Text to type | |
| clear | No | Clear the field first | |
| selector | No | CSS selector (fallback) |