find_text
Locate literal text on a page when you know the words but not the selector; returns matches with parent, visibility, position, and refs to nearby interactive elements.
Instructions
Find text on the page: parent selector, context, visibility, position per match. Attaches nearby interactive elements (with refs for click/type_text/hover) for the first visible match. Use it when you know the words on screen but not the selector (query_dom needs one); no match returns count 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Literal text to find, not a regex | |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| max_results | No | Cap on matches returned, in document order | |
| case_sensitive | No | Match case exactly |