browser_exists
Check if an element exists in a mobile browser using a CSS selector and device serial number, returning a JSON envelope with its presence status.
Instructions
Check whether an element is present.
Args: serialno: The browser device serialno, from list_devices. selector: A CSS selector.
Returns: JSON envelope whose data reports existence.
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_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | ||
| serialno | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |