playwright-testing-expert

playwright-testing-expert is an agent for Claude Code from jpoutrin/product-forge. It costs 24 tokens per session (4,194 once invoked), scanned A, original, MIT.

A coding assistant for Playwright with TypeScript, focused on end-to-end browser tests, visual regression checks, and frontend quality assurance. End-to-end tests check a complete user flow through the application.

In plain words
What is it for?
Use it to create browser-based tests, compare screenshots for visual changes, and check frontend behavior and quality.
Why use it?
It helps teams test what users actually see and do, including changes that may unexpectedly alter a page's appearance. It also requires checking current Playwright documentation before implementation.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the TodoWrite tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { LoginPage } from '../pages/LoginPage';.

Part of the frontend-experts plugin — 2 skills, 2 agents shipped together

Good fit Use it to create browser-based tests, compare screenshots for visual changes, and check frontend behavior and quality.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jpoutrin/product-forge
agentmods
npx agentmods add agents/jpoutrin/product-forge/playwright-testing-expert

Made for: Claude Code.

Or install frontend-experts, the plugin that ships this one along with the rest of its 2 skills, 2 agents.

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-testing-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/jpoutrin/product-forge/playwright-testing-expert/github.svg)](https://agentmods.dev/agents/jpoutrin/product-forge/playwright-testing-expert)
Your own site
<a href="https://agentmods.dev/agents/jpoutrin/product-forge/playwright-testing-expert"><img src="https://agentmods.dev/badge/agents/jpoutrin/product-forge/playwright-testing-expert/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-testing-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/jpoutrin/product-forge/playwright-testing-expert"><img src="https://agentmods.dev/badge/agents/jpoutrin/product-forge/playwright-testing-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,194 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.00024 $0.04194
Opus 5.5 $0.00010 $0.01678
Sonnet 5.5 $0.00005 $0.00839
Haiku 4.5 $0.00002 $0.00419

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

Security

Grade A, and why

playwright-testing-expert 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 1mo 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.

plugins/frontend-experts/agents/playwright-testing-expert.md · 641 lines

How it starts

The opening of the file, as written. The whole thing — 641 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Playwright Testing Expert Agent

You are a Playwright TypeScript Testing Expert specializing in end-to-end testing, visual regression testing, and frontend quality assurance.

Core Mandate

BEFORE ANY IMPLEMENTATION: You MUST research current Playwright documentation online to ensure you're using the latest APIs and best practices.

Documentation Research Protocol

STEP 1: Search Official Documentation
→ WebSearch("Playwright [topic] TypeScript 2024")
→ WebFetch("https://playwright.dev/docs/...")

STEP 2: Report Findings
┌────────────────────────────────────────────┐
│ 📚 Documentation Research Summary          │
├────────────────────────────────────────────┤
│ 🔍 Technology: Playwright                  │
│ 📦 Version: [Current Version]              │
│                                            │
│ ✅ CURRENT BEST PRACTICES                  │
│ • [Best practice 1]                        │
│ • [Best practice 2]                        │
│                                            │
│ ⚠️ DEPRECATED PATTERNS                     │
│ • [Deprecated pattern] → Use [alternative] │
│                                            │
│ 📖 SOURCE: playwright.dev                  │
└────────────────────────────────────────────┘

STEP 3: Implement with Current Patterns

Code Navigation with LSP

When exploring or analyzing code in this project:

  1. Prefer LSP MCP tools (if available):

    • Use LSP for go-to-definition, find-references, find-implementations
    • Use LSP to understand code structure and dependencies
    • Use LSP to trace call paths and inheritance hierarchies
  2. Fall back to traditional tools when LSP is unavailable:

    • Grep for keyword searches across files
    • Glob for finding files by pattern
    • Read to examine file contents
  3. When to use LSP:

    • Understanding unfamiliar codebases before making changes
    • Finding all usages of a function/class before refactoring
    • Tracing how data flows through the application
    • Verifying implementation details match interface contracts

Read the full file on GitHub · 641 lines

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. 1mo ago First seen · 641 lines · 24 tokens per session scan A 26034728e5d2

Subscribe to this mod's changes

playwright-testing-expert is an agent published in the GitHub repository jpoutrin/product-forge (16 stars, last pushed 7mo ago), licensed MIT. It adds 24 tokens to every session and 4,194 once invoked, about $0.0001 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-08-30.

Related

Other agents, from other repositories

browser-tester-v2

Use this agent to perform manual browser testing of implemented features using Claude in Chrome (MCP). Delegate to this agent when you need to verify that a feature works correctly in the browser, test UI interactions, check for console errors, or validate user flows. Provide context about what was implemented and…

lipas-liikuntapaikat/lipas · 69 tokens

qa-tester

Specialized QA automation engineer. Designs ISTQB test matrix, executes Web E2E (agent-browser CDP) and API tests, verifies runtime health, and files structured defect reports.

datit309/supergraph · 41 tokens

qa-tester

Black-box QA — drives the running app with playwright-cli through golden, edge, and a11y flows and records as-is/to-be evidence. Distinct from Verify, which re-runs the real tests with no browser.

cskwork/oh-my-symphony · 49 tokens

visual-tester

Visual QA tester — navigates web UIs via Chrome CDP, spots visual issues, tests interactions, produces structured reports.

HazAT/pi-interactive-subagents · 28 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

visual-verifier

A visual checking agent for image-to-code work. It renders generated HTML in a headless browser, meaning a browser without a visible window, and compares the result pixel by pixel with the original image.

Mineru98/imagine · 113 tokens