Playwright Tester Mode

Playwright Tester Mode is an agent for Claude Code from github/awesome-copilot. It costs 11 tokens per session (292 once invoked), scanned A, original, MIT.

A testing assistant for Playwright, a tool that controls a web browser to check website behavior. It explores user flows before creating or improving TypeScript tests.

In plain words
What is it for?
Use it to explore websites, identify important user journeys, generate Playwright tests, run them, investigate failures, and document what they cover.
Why use it?
It helps produce reliable browser tests with locators based on the actual page, and helps diagnose and refine tests that fail.

Agent for Claude Code ✓ vendor

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to explore websites, identify important user journeys, generate Playwright tests, run them, investigate failures, and document what they cover.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/github/awesome-copilot/playwright-tester
About the project

Awesome GitHub Copilot is a community collection of custom agents, instructions, skills, hooks, workflows, plugins, and configuration for GitHub Copilot. It helps Copilot users customize coding and development tasks. Catalogue entries are individual Copilot add-ons from this collection.

github/awesome-copilot · 41,857 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/github/awesome-copilot

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Playwright Tester Mode

README.md
[![agentmods](https://agentmods.dev/badge/agents/github/awesome-copilot/playwright-tester/github.svg)](https://agentmods.dev/agents/github/awesome-copilot/playwright-tester)
Your own site
<a href="https://agentmods.dev/agents/github/awesome-copilot/playwright-tester"><img src="https://agentmods.dev/badge/agents/github/awesome-copilot/playwright-tester/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Playwright Tester Mode

Your own site · 80×15
<a href="https://agentmods.dev/agents/github/awesome-copilot/playwright-tester"><img src="https://agentmods.dev/badge/agents/github/awesome-copilot/playwright-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 292 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.00292
Opus 5.5 $0.00004 $0.00117
Sonnet 5.5 $0.00002 $0.00058
Haiku 4.5 $0.00001 $0.00029

Measured 3mo ago against content hash 67b9e4210df2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Playwright Tester Mode scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

agents/playwright-tester.agent.md · 15 lines

What it actually says

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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 15 lines · 11 tokens per session scan A 67b9e4210df2

Subscribe to this mod's changes

Playwright Tester Mode is an agent published in the GitHub repository github/awesome-copilot (41,857 stars, last pushed today), licensed MIT. It adds 11 tokens to every session and 292 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Playwright Tester Mode compared with agents from other repositories

Playwright Tester Mode next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Playwright Tester Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
playwright-test-generatorfugazi/test-automation-skills-agentsAgent2755d agoMITA37Claude Code
e2e-testerJosephHampton/awesome-gemini-cli-subagentsAgent14216d agoCC0-1.0A35Claude Code
webapp-testeruwuclxdy/agenticatAgent612d agoMITA83Claude Code
bobby-qeccevans/bobbycodeAgent614d agoMITA24Claude Code
witnessIvMisticos/misticos.ClaudeAgent33d agoMITA56Claude Code
playwright-e2eivklgn/ai-kitAgent122mo agoMITA47Claude Code