scaffold_playwright_test
Generate an executable Playwright E2E test in TypeScript or JavaScript from captured QuickCast interactions, clicks, and URLs to reproduce recorded user flows.
Instructions
Generate an executable Playwright (TypeScript or JavaScript) E2E reproduction test based on the interactions, clicks, and URLs captured during the QuickCast recording.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scaffold_playwright_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language to output ("typescript" or "javascript"). Default is "typescript". | typescript |
| test_name | No | Name for the Playwright test block. | |
| session_id | No | Optional session ID. If omitted, uses latest recording. | |
| target_url | No | Target starting URL (overrides recorded page URL if provided). | |
| session_data | No | Optional raw session JSON string. |