Generates complete WDIO test suites from user prompts, featuring intelligent file analysis for efficient script management.
The Script Generator is an MCP server designed to automate the creation of WebDriverIO (WDIO) test scripts. It takes test scenarios directly from user prompts and intelligently generates comprehensive test suites, including Gherkin feature files, step definitions, Page Object Models, and component files. A key differentiator is its 'Smart File Analysis' system, which evaluates existing test structures to avoid duplication, maintain organization, and promote code reusability by updating or extending existing files based on similarity thresholds. It also incorporates robust JSON Schema validation for all inputs and performs automated code review and enhancement.