type_text
Types text into web form fields using element references or CSS selectors, enabling automated input for browser automation tasks.
Instructions
Type text into an input field. Provide either a ref (from snapshot) or a CSS selector. Use ref when available; use selector as fallback when snapshot doesn't assign refs (common with combobox/autocomplete inputs). Call snapshot first to find target element.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID from create_tab | |
| ref | No | Element ref from snapshot (e.g. 'e1', 'e2') | |
| selector | No | CSS selector (e.g. 'input[name=q]', '#search-input') | |
| text | Yes | Text to type into the element. Replaces existing content. |