browser_text
Extract text content from a web element on a mobile device browser using its serial number and CSS selector.
Instructions
Get an element's text content.
Args: serialno: The browser device serialno, from list_devices. selector: A CSS selector.
Returns: JSON envelope whose data carries the 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": {
"serialno": "<serialno>",
"selector": "<selector>"
},
"name": "browser_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | ||
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |