browser_find
Find elements by visible text, accessible name, or role to get their refs for browser automation. Read-only and cheaper than reading the full accessibility tree.
Instructions
Find elements by visible text, accessible name, or role, and return their refs for use with browser_computer and browser_form_input. Read-only. Cheaper than reading the whole accessibility tree when you know what you are looking for. An empty result means nothing matched — not an error.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tabId": "<tabId>",
"query": "<query>"
},
"name": "browser_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | visible text, accessible name, or ARIA role to search for | |
| tabId | Yes | tab id from browser_tabs_list or browser_tab_create |