find
Searches the page for visible elements matching a query in text, labels, placeholders, ids, or names, returning roles and refs for clicking, typing, hovering, or form filling.
Instructions
Read-only: search the page for visible elements whose text, accessible label, placeholder, id or name contains the query (case-insensitive) and return each with its role, name and a ref you can pass to click, type, hover or fill_form. Use it to locate one element on a large page without a full snapshot. Returns nothing when no visible element matches; try a shorter query or call snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab id from tabs_list. Defaults to the current tab. | |
| limit | No | Maximum number of matches to return (default 20). | |
| query | Yes | Text to look for in element text, label, placeholder, id or name (case-insensitive substring). |