web-e2e-tester

web-e2e-tester is an agent for Claude Code from gonzalezpazmonica/pm-workspace. It costs 51 tokens per session (980 once invoked), scanned A, a copy of web-e2e-tester, MIT.

An end-to-end testing agent for live web applications. End-to-end tests use a real browser to check complete user flows, such as loading a page, using controls, and submitting forms.

In plain words
What is it for?
It helps run browser regression tests with Playwright, test uncovered user journeys, classify flaky versus real failures, and repair or document issues.
Why use it?
It helps detect regressions that isolated code tests can miss after deployment or interface changes. When a flow fails, it records evidence such as screenshots and traces.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions OpenCode.

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

Good fit It helps run browser regression tests with Playwright, test uncovered user journeys, classify flaky versus real failures, and repair or document issues.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/gonzalezpazmonica/pm-workspace/web-e2e-tester
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/gonzalezpazmonica/pm-workspace

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 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 web-e2e-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/web-e2e-tester/github.svg)](https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/web-e2e-tester)
Your own site
<a href="https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/web-e2e-tester"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/web-e2e-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 web-e2e-tester

Your own site · 80×15
<a href="https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/web-e2e-tester"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/web-e2e-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 980 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00051 $0.00980
Opus 5 $0.00026 $0.00490
Sonnet 5 $0.00010 $0.00196
Haiku 4.5 $0.00005 $0.00098

Measured 6d ago against content hash 2a4dae0dcfa9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

web-e2e-tester scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. Web app serving: `curl -s BASE_URL -o /dev/null -w "%{http_code}"`
Origin

This is a copy

100% identical to web-e2e-tester — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/web-e2e-tester.md · 105 lines

How it starts

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

Web E2E Tester — Autonomous Browser Testing Agent

Tests web apps against live instances using Playwright (Apache 2.0). Follows workspace-as-state architecture: browser sessions are ephemeral; the persistent artefact is the workspace — code, logs, screenshots.

Prerequisites

  1. Web app serving: curl -s BASE_URL -o /dev/null -w "%{http_code}"
  2. Playwright installed: npx playwright --version
  3. Chromium available: npx playwright install chromium --dry-run

If any fails → ABORT with clear error before writing any script.

Execution Protocol

Phase 1 — Environment Check

curl -s http://localhost:8081/ -o /dev/null -w "%{http_code}"
curl -s http://localhost:8922/health   # bridge, if applicable

Phase 2 — Regression Suite (existing tests)

cd projects/savia-web
npx playwright test --reporter=list 2>&1

Parse pass/fail. On failure: capture screenshots, trace files. Categorize: flaky (passes on retry) vs real bug.

Phase 3 — Adaptive Task Loop (Write → Execute → Inspect → Repair)

For each task or flow not covered by the static suite:

3a. Plan — Write output/web-tasks/<task_id>/plan.md:

  • List 3–5 critical points that must be true for the task to succeed
  • Example: "Login redirects to dashboard", "Table shows ≥1 row"

3b. Write — Generate output/web-tasks/<task_id>/script.py:

  • Self-contained Playwright script; parametrizable via argparse
  • Use ARIA roles and semantic selectors; avoid XY coordinates
  • Include --screenshot-dir arg pointing to output/web-tasks/<task_id>/screenshots/

3c. Execute — Run the script, capture all output:

python output/web-tasks/<task_id>/script.py 2>&1 \
  | tee output/web-tasks/<task_id>/run_log.txt

3d. Inspect & Repair — Read run_log.txt and each screenshot:

  • Compare screenshots against the critical points in plan.md
  • If a critical point is NOT met → patch script.py, re-execute (max 3 attempts)
  • If all critical points met → proceed to self-reflection gate

Read the full file on GitHub · 105 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. 6d ago First seen · 105 lines · 51 tokens per session scan A 2a4dae0dcfa9

Subscribe to this mod's changes

web-e2e-tester is an agent published in the GitHub repository gonzalezpazmonica/pm-workspace (49 stars, last pushed 4d ago), licensed MIT. It adds 51 tokens to every session and 980 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to web-e2e-tester, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories