Playwright MCP Server_start_codegen_session
Initiate a Playwright code generation session to record browser actions and automatically generate test scripts, specifying output directory, test name prefix, and optional comments.
Instructions
Start a new code generation session to record Playwright actions
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": {
"options": "<options>"
},
"name": "Playwright MCP Server_start_codegen_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | Yes | Code generation options |