Playwright MCP Server

by BhanuTJ93
MIT License
18,115
  • Linux
  • Apple

start_codegen_session

Initiate a code generation session to record Playwright actions and automatically generate test scripts. Specify output directory, test name prefix, and include comments for customized test creation.

Instructions

Start a new code generation session to record Playwright actions

Input Schema

NameRequiredDescriptionDefault
optionsYesCode 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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BhanuTJ93/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server