playwright-generate-test
Generate Playwright tests from scenarios using interactive browser exploration and validation.
What it does
- 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/test based on message history
- Save generated test file in the tests directory
- Execute the test file and iterate until the test passes
Requirements & configuration
- 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.
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
Generate Playwright tests from scenarios using interactive browser exploration and validation.
Source
Repository: https://github.com/github/awesome-copilot
playwright-generate-test FAQ
What does the playwright-generate-test skill do?
Generate a Playwright test based on a scenario using Playwright MCP 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.
What does playwright-generate-test require?
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.
How do I install playwright-generate-test?
Run: npx -y skills add https://github.com/github/awesome-copilot --skill playwright-generate-test --agent claude-code — the source lives at github.com/github/awesome-copilot.
Maintain playwright-generate-test?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/github-awesome-copilot-playwright-generate-test?ref=badge) npx agentictools info skills/github-awesome-copilot-playwright-generate-test The second line is the CLI lookup for this page — handy in READMEs and docs.