browser_type
Types printable characters into a focused or selected browser field without clearing existing content, stopping if focus is lost. Use press_key for Enter/Tab and fill for multiline replacement.
Instructions
Type printable characters with trusted keys without clearing. Choose exactly one ref/selector/focused=true; stop on focus loss/detachment. Enter/Tab use press_key; ordinary multiline replacement uses fill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nth | No | Selector only: zero-based DOM index, AX tree order for role. | |
| ref | No | ||
| name | No | role only: exact AX name; empty allowed. | |
| text | Yes | ||
| frame | No | Child frame: at least one of url/title/path. url/title exact; path=unique nested CSS iframe steps (e.g. ["#frame"]); exclusive with frame_id. | |
| focused | No | Pin current editable focus without refocusing; exclusive with ref/selector and locator options. | |
| observe | No | Read this explicit control after the action within its remaining budget; observation is separate from delivery. No assertion or automatic replay. | |
| delay_ms | No | Between characters: ms or independent uniform [min,max]; min<=max. | |
| frame_id | No | Selector frame; default main. | |
| selector | No | Query by selector_type; role example: selector="link", name="Claim". | |
| tab_handle | Yes | ||
| timeout_ms | No | Total preparation/dispatch/verification and optional observation budget. | |
| dialog_policy | No | accept/dismiss auto-handle dialogs and return their messages. | ask |
| selector_type | No | Default css. label: exact associated HTML label, whitespace normalized. placeholder: exact attribute. |