playwright_checkbox
Checks or unchecks a browser checkbox by CSS selector and boolean state, enabling reliable form testing and automation.
Instructions
Check or uncheck a checkbox
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>",
"checked": "<checked>"
},
"name": "playwright_checkbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checked | Yes | Check (true) or uncheck (false) | |
| selector | Yes | CSS selector of checkbox |