
Playwright Generate Test
- 16.6k installs
- 37.1k repo stars
- Updated July 28, 2026
- github/awesome-copilot
Playwright Generate Test is a skill for generating Playwright tests from scenario descriptions using MCP tools.
About
Generate a Playwright test based on a provided scenario using the Playwright MCP. Follow prescribed steps using MCP tools, complete all steps before emitting code, generate a TypeScript test using @playwright/test, save it to the tests directory, execute the test, and iterate until passing.
- Generate Playwright tests from scenario descriptions
- Use Playwright MCP tools for page inspection and interaction
- Execute tests iteratively until passing
Playwright Generate Test by the numbers
- 16,603 all-time installs (skills.sh)
- +567 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #33 of 2,184 Testing & QA skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
playwright-generate-test capabilities & compatibility
- Capabilities
- test generation · scenario to code · iterative testing
- Works with
- playwright
- Use cases
- testing
What playwright-generate-test says it does
DO NOT generate test code prematurely or based solely on the scenario without completing all prescribed steps
Execute the test file and iterate until the test passes
npx skills add https://github.com/github/awesome-copilot --skill playwright-generate-testAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 16.6k |
|---|---|
| repo stars | ★ 37.1k |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 28, 2026 |
| Repository | github/awesome-copilot ↗ |
What it does
Generate Playwright end-to-end tests from scenario descriptions and validate them through iterative execution.
Who is it for?
test automation engineers, QA developers
Skip if: Unit or integration test suites that never touch a browser, or teams without Playwright MCP available in the agent environment.
When should I use this skill?
generating Playwright tests from scenarios, creating end-to-end test automation
What you get
Passing Playwright TypeScript test covering the provided scenario
- executable Playwright test file
- MCP-verified step sequence
By the numbers
- follows multi-step process before code emission
Files
Test Generation with Playwright MCP
Your goal is to generate a Playwright test based on the provided scenario after completing all prescribed steps.
Specific Instructions
- You are given a scenario, and you need to generate a playwright test for it. If the user does not provide a scenario, you will ask them to provide one.
- DO NOT generate test code prematurely or based solely on the scenario without completing all prescribed steps.
- DO run steps one by one using the tools provided by the Playwright MCP.
- Only after all steps are completed, emit a Playwright TypeScript test that uses
@playwright/testbased on message history - Save generated test file in the tests directory
- Execute the test file and iterate until the test passes
Related skills
How it compares
Use playwright-generate-test when browser-verified MCP steps should precede codegen instead of asking an LLM to invent selectors from text alone.
FAQ
Does playwright-generate-test write code immediately from a scenario?
playwright-generate-test forbids generating test code prematurely. The skill requires completing all prescribed Playwright MCP browser steps one by one, and only then emits Playwright test code based on verified interactions.
What input does playwright-generate-test need?
playwright-generate-test expects a natural-language user scenario describing the flow to test. If the developer omits a scenario, the skill asks for one before driving Playwright MCP and producing the final executable test.
Is Playwright Generate Test safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.