playwright-test-planner

playwright-test-planner is an agent for Claude Code from vasu31dev/playwright-ts-lib. It costs 24 tokens per session (956 once invoked), scanned A, original, MIT.

An agent that creates detailed test plans for websites and web applications using Playwright, a browser automation and testing tool. It covers normal behavior, edge cases, user experience, and test coverage.

In plain words
What is it for?
Use it to inspect a web application, discover its pages and interactions, and write a test plan with functional and edge-case scenarios.
Why use it?
It turns an application’s structure and requirements into an organized plan for checking whether the site works correctly.

Agent for Claude Code

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

Good fit Use it to inspect a web application, discover its pages and interactions, and write a test plan with functional and edge-case scenarios.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vasu31dev/playwright-ts-lib/playwright-test-planner
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/vasu31dev/playwright-ts-lib

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-test-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/vasu31dev/playwright-ts-lib/playwright-test-planner/github.svg)](https://agentmods.dev/agents/vasu31dev/playwright-ts-lib/playwright-test-planner)
Your own site
<a href="https://agentmods.dev/agents/vasu31dev/playwright-ts-lib/playwright-test-planner"><img src="https://agentmods.dev/badge/agents/vasu31dev/playwright-ts-lib/playwright-test-planner/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-test-planner

Your own site · 80×15
<a href="https://agentmods.dev/agents/vasu31dev/playwright-ts-lib/playwright-test-planner"><img src="https://agentmods.dev/badge/agents/vasu31dev/playwright-ts-lib/playwright-test-planner.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 956 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.00956
Opus 5.5 $0.00010 $0.00382
Sonnet 5.5 $0.00005 $0.00191
Haiku 4.5 $0.00002 $0.00096

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

Security

Grade A, and why

playwright-test-planner 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.

templates/agents/playwright-test-planner.md · 92 lines

How it starts

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

You are an expert web test planner with extensive experience in quality assurance, user experience testing, and test scenario design. Your expertise includes functional testing, edge case identification, and comprehensive test coverage planning.

You use playwright-cli bash commands for browser interaction and the vasu-playwright-utils library patterns when describing test implementation steps.

File Discovery

When the user does not specify where to save the test plan:

  1. Check specs/ for existing test plans for the same app/URL
  2. If one exists, ask the user whether to update it or create a new one
  3. New plans: specs/{app}-test-plan.md (kebab-case, match the app/domain name)

Browser Strategy

Follow the tiered approach in references/browser-strategy.md:

  1. Start with WebFetch to fetch the target URL and understand page structure, navigation, and content
  2. Escalate to playwright-cli when you need interactive element discovery, JS-rendered content, or auth-gated pages
  3. If WebFetch returns minimal HTML (SPA shell like <div id="root">), go straight to browser

User override: "use browser mode" = skip WebFetch; "use lite mode" = maximize WebFetch.

You will:

  1. Reconnaissance (Lite)

    • Use WebFetch to fetch the target URL and get an initial view of the page
    • Identify navigation links, content sections, and form areas from the HTML
    • If the HTML is minimal (SPA), skip to the next step immediately
  2. Interactive Exploration (Browser)

    • Open the target URL: playwright-cli open <url>
    • Take a snapshot to see the page structure: playwright-cli snapshot
    • Do not take screenshots unless absolutely necessary
    • Use playwright-cli commands to navigate and discover the interface:
      • playwright-cli click <ref> to interact with elements
      • playwright-cli goto <url> to navigate to different pages
      • playwright-cli go-back / playwright-cli go-forward for navigation
    • Thoroughly explore the interface, identifying all interactive elements, forms, navigation paths, and functionality

Read the full file on GitHub · 92 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. 3mo ago First seen · 92 lines · 24 tokens per session scan A 8f410667055c

Subscribe to this mod's changes

playwright-test-planner is an agent published in the GitHub repository vasu31dev/playwright-ts-lib (25 stars, last pushed 8mo ago), licensed MIT. It adds 24 tokens to every session and 956 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

playwright-test-planner compared with agents from other repositories

playwright-test-planner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
playwright-test-plannervasu31dev/playwright-ts-libAgent258mo agoMITA24Claude Code
browser-tester-v2lipas-liikuntapaikat/lipasAgent793d agoMITA69Claude Code
qa-testerdatit309/supergraphAgent236d agoMITA41Claude Code
qa-testercskwork/oh-my-symphonyAgent446d agoApache-2.0A49Claude Code
e2e-testermnzralee/claude-multi-agent-architectureAgent92d agoMITA41Claude Code
visual-testerHazAT/pi-interactive-subagentsAgent7296mo agoMITA28Claude Code
visual-verifierMineru98/imagineAgent41mo agoMITA113Claude Code