browser_type
Types text key by key into a specified element to trigger real keyboard events for autocomplete; optionally presses Enter and returns a page snapshot.
Instructions
Type text key by key into the element (or the focused one), as real key events autocompletes see; submit presses Enter after.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from browser_snapshot, e.g. 12 | |
| text | No | Visible text or label of the element, instead of ref | |
| value | Yes | The text to type | |
| submit | No | Press Enter after typing | |
| selector | No | CSS selector (first match), instead of ref | |
| snapshot | No | Also return the page snapshot after the action |