Find elements by text
browser_findFind elements by their text without reading the whole page: matching lines with refs, visible ones first. text is a case-insensitive substring, or a regular expression with regex: true.
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": {
"text": "<text>"
},
"name": "browser_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to find. | |
| limit | No | Maximum matches, default 20. | |
| regex | No | Treat text as a JavaScript regular expression. | |
| tab_id | No | A result's tab_id. | |
| session_id | No | Only with several sessions. |