isVisible
Check whether a CSS-selected element is visible in an Electron app, helping AI agents verify UI state during Playwright-based tests.
Instructions
Check if element is visible
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": "isVisible"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector |