session_verify_locators
Validates Playwright locators against an open session's current page after actions, without requiring a fresh navigation.
Instructions
verify_locators against an open session's current page (after acting, without a fresh navigation).
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": {
"session_id": "<session_id>",
"locators": "<locators>"
},
"name": "session_verify_locators"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locators | Yes | Playwright expressions as written in the test (getByRole(...), getByTestId(...), scoped forms, .nth(i)). | |
| session_id | Yes | From session_open. |