get_accessibility_snapshot
Retrieve the current page's Playwright accessibility snapshot to inspect roles, names, and states for automated testing.
Instructions
Get Playwright accessibility snapshot for the current page
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": {
"sessionId": "<sessionId>"
},
"name": "get_accessibility_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| includeHidden | No |