skills sourced live from GitHub · all skills listed are free · each skill is provided under its author's license.
home / Browser Automation / Playwright Generate Test Skill by @github
The skill is the skills/playwright-generate-test folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.
Has an agent walk through a scenario in a real browser with Playwright MCP first, then write a Playwright test from what actually happened.
A short but disciplined prompt: the agent must complete every prescribed step in the live browser before generating any test code, which keeps locators and assertions grounded in the real page rather than guessed.
Written and maintained by @github. It is published under the MIT license, which allows reuse with attribution. See the author profile. SkillDirectory does not claim authorship: this page adds our own review and links back to the original, and the skill's text belongs to its author.
(Excerpt. Full file: https://github.com/github/awesome-copilot/blob/main/skills/playwright-generate-test/SKILL.md)
Excerpt only, quoted from the author's repository. Open the repository for the complete file.