Engineering
playwright-pro avatar

playwright-pro

Production-grade Playwright testing toolkit. Automate E2E testing, fix flaky tests, perform migrations from Cypress/Selenium, and integrate with CI/CD, TestRail, and BrowserStack.

Introduction

Playwright Pro is a comprehensive testing toolkit designed for AI coding agents to manage production-grade end-to-end (E2E) testing lifecycles. It provides a robust set of command-line tools for developers and quality engineers to accelerate the development, maintenance, and execution of browser automation suites. By leveraging standardized workflows, the tool ensures high-quality testing through automated linting, anti-pattern detection, and intelligent debugging capabilities.

  • Full lifecycle support from initial scaffold using /pw:init to complex browser automation execution.

  • Automated test generation from user stories, URLs, or components, paired with mandatory /pw:review to validate quality.

  • Specialized migration utilities to transition seamlessly from legacy frameworks like Cypress or Selenium to modern Playwright standards.

  • Advanced debugging and maintenance features including /pw:fix to identify and resolve flaky test failures, and /pw:coverage to track testing gaps.

  • Integrated observability with external platforms such as TestRail for test case management and BrowserStack for cross-browser testing and reporting.

  • Access to 55 specialized test templates covering auth, CRUD, checkout, and API testing, alongside 3 dedicated agents for architecture, debugging, and migration planning.

  • Follow the recommended sequence: Init, Generate, Review, and Fix to maintain a healthy test suite.

  • Adhere to the 'Golden Rules' of Playwright testing, such as prioritizing getByRole() over CSS selectors and avoiding page.waitForTimeout() in favor of web-first assertions.

  • Ensure environment variables for TestRail and BrowserStack are correctly configured to enable integration hooks.

  • Always validate locator strategies using the provided locator priority guide to ensure resilience against markup changes.

  • Use the provided reference docs for detailed guidance on fixtures, storageState, and common pitfalls to avoid regressions in CI/CD pipelines.

Repository Stats

Stars
13,150
Forks
1,742
Open Issues
18
Language
Python
Default Branch
main
Sync Status
Idle
Last Synced
Apr 29, 2026, 02:36 PM
View on GitHub