Find elements
findLocate page elements by role, label, placeholder, text, or attributes—including inside iframes—and return up to 20 matching references for use by other browser tools.
Instructions
Find elements by what they are or what they say (e.g. "search bar", "login button", "add to cart", "price"). Matches roles, labels, placeholders, text and attributes, including inside iframes. Returns up to 20 matches with refs usable by other tools.
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": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to look for, e.g. "search bar" or "Sign in button". | |
| tabId | Yes | Tab ID from tabs_context / tabs_create. |