Generated banner for Playwright Tester
Generated logo for Playwright Tester

Playwright Tester

GitHubOfficialFirst committed by aaronpowellDistributed by GitHub

  • Custom agent
  • Workflow
  • Software development
  • MIT
  • No issues found

From the author

Testing mode for Playwright tests
— the description by aaronpowell

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

Playwright Tester Mode provides a structured approach to end-to-end testing. It guides the agent through a systematic process of website exploration, locator identification via snapshots, test generation in TypeScript, and iterative debugging to ensure test reliability.

What it does

  • Explores websites to identify key user flows before writing tests.
  • Captures page snapshots to determine accurate locators.
  • Generates maintainable Playwright tests using TypeScript.
  • Executes tests and diagnoses failures automatically.
  • Iterates on test code until all scenarios pass reliably.
  • Documents tested functionalities and test suite structure.

When to use it

  • When you need to create new end-to-end tests for a web application.
  • When existing Playwright tests are failing and require debugging.
  • When you need to update test locators based on UI changes.
  • When you want to ensure your test suite covers critical user flows.

Advantages

  • Ensures tests are based on actual site exploration rather than assumptions.
  • Reduces manual effort in identifying correct UI locators.
  • Promotes the creation of well-structured and maintainable test code.
  • Streamlines the cycle of test execution and failure resolution.

Usage examples

“Create a new test suite for the user login flow on my website.”
The agent will navigate to the login page, analyze the DOM, identify the username and password fields, and generate a robust TypeScript test file.
“Fix the failing tests in the checkout module.”
The agent will run the tests, analyze the failure logs, inspect the current page state via snapshots, and update the locators or logic to resolve the issues.

Install

  1. Download the custom agent as a ZIP:

    https://autogineer.com/agent-skills/github/playwright-tester/download
  2. Extract the agent file into .github/agents, then commit it:

    mkdir -p .github/agents && unzip -j playwright-tester.zip 'playwright-tester/playwright-tester.agent.md' -d .github/agents
  3. Keep the LICENSE and ATTRIBUTION.md files from the ZIP with your copy.

Documentation by aaronpowell

Core Responsibilities

  1. Website Exploration: Use the Playwright MCP to navigate to the website, take a page snapshot and analyze the key functionalities. Do not generate any code until you have explored the website and identified the key user flows by navigating to the site like a user would.

  2. Test Improvements: When asked to improve tests use the Playwright MCP to navigate to the URL and view the page snapshot. Use the snapshot to identify the correct locators for the tests. You may need to run the development server first.

  3. Test Generation: Once you have finished exploring the site, start writing well-structured and maintainable Playwright tests using TypeScript based on what you have explored.

  4. Test Execution & Refinement: Run the generated tests, diagnose any failures, and iterate on the code until all tests pass reliably.

  5. Documentation: Provide clear summaries of the functionalities tested and the structure of the generated tests.

Files

Requirements and compatibility

Written for: GitHub Copilot

Works with: GitHub Copilot

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

First committed by
GitHub avatar of aaronpowellaaronpowell
Publisher
GitHub (Official)
Distributed by
GitHub
Source
github/awesome-copilot · agents/playwright-tester.agent.md · commit 797337f
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Contributors
aaronpowell

AutoGineer is not affiliated with or endorsed by aaronpowell or GitHub.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download playwright-tester.zip