browser_read_text
Extract visible text from a page or frame, read a specific field value, or capture form field profiles for web inspection and automation.
Instructions
Read page/frame text. Visible text excludes input/textarea values; use value for one field or snapshot profile=fields for forms. complete_source is source coverage, not pagination; next_offset continues live text, which may change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nth | No | Selector only: zero-based DOM index, AX tree order for role. | |
| mode | No | value: DOM field text; editor: exposed Monaco/CM5 model, otherwise error with evaluate guidance. Both require selector. Virtualized editor DOM/proxy values are not model text. | visible |
| name | No | role only: exact AX name; empty allowed. | |
| 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. | |
| offset | No | ||
| frame_id | No | ||
| selector | No | Query by selector_type; role example: selector="link", name="Claim". | |
| max_chars | No | ||
| tab_handle | Yes | ||
| selector_type | No | Default css. label: exact associated HTML label, whitespace normalized. placeholder: exact attribute. |