start_codegen_session
Initiate a code generation session to record and transform Playwright browser actions into test scripts, specifying output path, test name prefixes, and optional comments for clarity.
Instructions
Start a new code generation session to record Playwright actions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
options | Yes | Code generation options |
Input Schema (JSON Schema)
{
"properties": {
"options": {
"description": "Code generation options",
"properties": {
"includeComments": {
"description": "Whether to include descriptive comments in generated tests",
"type": "boolean"
},
"outputPath": {
"description": "Directory path where generated tests will be saved (use absolute path)",
"type": "string"
},
"testNamePrefix": {
"description": "Prefix to use for generated test names (default: 'GeneratedTest')",
"type": "string"
}
},
"required": [
"outputPath"
],
"type": "object"
}
},
"required": [
"options"
],
"type": "object"
}