Find elements
browser_findFind page elements by visible text, role, or CSS selector and return refs for browser_act, browser_inspect, or browser_screenshot, including shadow DOM and off-screen items.
Instructions
Find elements by visible text, role (button, link, textbox, checkbox, combobox, option, heading, tab, menuitem, dialog, img, row, cell) or CSS selector. Returns refs you can pass to browser_act, browser_inspect or browser_screenshot, with label, state and value. Reaches inside forms, open and closed shadow roots, and elements off screen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| text | No | Visible text or accessible name to match (substring, case-insensitive). | |
| exact | No | Match the whole text exactly. | |
| limit | No | Default 20. | |
| tabId | No | ||
| selector | No | ||
| includeHidden | No |