Compile Playwright spec
compile_playwright_specCompile validated role-based browser actions and assertions into a Playwright spec saved to your local tests directory.
Instructions
Write validated role-based browser actions and assertions to a Playwright spec in the local tests directory.
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": {
"test_name": "<test_name>",
"target_url": "<target_url>",
"validated_actions": "<validated_actions>"
},
"name": "compile_playwright_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_name | Yes | ||
| target_url | Yes | ||
| validated_actions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| file_path | Yes | ||
| action_count | Yes |