Get element text
browser_get_textExtract text from any web page element by providing a CSS selector. Retrieve the inner text content of matching elements to use in automation workflows.
Instructions
Read the text content of an element matching a CSS selector
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": {
"selector": "<selector>"
},
"name": "browser_get_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes |