generate_playwright_test
Creates a Playwright TypeScript test framework with Page Object Model, data files, and utilities from test cases and locators.
Instructions
Generate a Playwright TypeScript framework with Page Object Model, data files, and utilities
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": {
"testCases": "<testCases>",
"locators": "<locators>",
"applicationUrl": "<applicationUrl>",
"frameworkConfiguration": "<frameworkConfiguration>"
},
"name": "generate_playwright_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locators | Yes | ||
| testData | No | ||
| testCases | Yes | ||
| applicationUrl | Yes | ||
| allowProduction | No | ||
| frameworkConfiguration | Yes |