element_get_text
Retrieve the visible text content of a web page element using a locator or element ID. Provides clean text extraction for automated testing and data collection.
Instructions
Get the visible text content of an element. Provide locator or element_id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "element_get_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | ||
| tab_id | No | ||
| locator | No | ||
| element_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |