find
Locate page elements by CSS selector or text content to target and interact with specific UI components during browser automation.
Instructions
Find elements on a page by selector or text
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>"
},
"name": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text content to search for | |
| tabId | Yes | Tab ID | |
| selector | No | CSS selector to search for |