exists
Check if elements exist in an Electron app by selector or reference. Returns match status and count without waiting for elements to appear.
Instructions
Fast check for whether any element matches, plus the count. Pass selector or ref. Does not wait.
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": "exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | ||
| ref | No | Ref from snapshot. |