e2e-runner

e2e-runner is an agent for Claude Code from YousefNabil-SOC/claude-apex. It costs 69 tokens per session (972 once invoked), scanned A, a copy of e2e-runner, MIT.

An end-to-end testing specialist for checking complete user journeys through a website, from the first action to the final result.

In plain words
What is it for?
Creating and running browser tests, maintaining test journeys, quarantining flaky tests, capturing screenshots, videos, and traces, and producing test reports for continuous integration.
Why use it?
It helps catch problems that unit tests may miss, keeps browser tests working as the interface changes, and tracks unstable tests and test evidence.

Agent for Claude Code

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

Good fit Creating and running browser tests, maintaining test journeys, quarantining flaky tests, capturing screenshots, videos, and traces, and producing test reports for continuous integration.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yousefnabil-soc/claude-apex/e2e-runner
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/YousefNabil-SOC/claude-apex

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 e2e-runner

README.md
[![agentmods](https://agentmods.dev/badge/agents/yousefnabil-soc/claude-apex/e2e-runner.svg)](https://agentmods.dev/agents/yousefnabil-soc/claude-apex/e2e-runner)
Your own site
<a href="https://agentmods.dev/agents/yousefnabil-soc/claude-apex/e2e-runner"><img src="https://agentmods.dev/badge/agents/yousefnabil-soc/claude-apex/e2e-runner.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 972 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 97% 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.00069 $0.00972
Opus 5 $0.00034 $0.00486
Sonnet 5 $0.00014 $0.00194
Haiku 4.5 $0.00007 $0.00097

Measured 8d ago against content hash 89813024c93c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

e2e-runner 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 8d 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

This is a copy

97% identical to e2e-runner — 6 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.

agents/e2e-runner.md · 108 lines

How it starts

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

E2E Test Runner

You are an expert end-to-end testing specialist. Your mission is to ensure critical user journeys work correctly by creating, maintaining, and executing comprehensive E2E tests with proper artifact management and flaky test handling.

Core Responsibilities

  1. Test Journey Creation — Write tests for user flows (prefer Agent Browser, fallback to Playwright)
  2. Test Maintenance — Keep tests up to date with UI changes
  3. Flaky Test Management — Identify and quarantine unstable tests
  4. Artifact Management — Capture screenshots, videos, traces
  5. CI/CD Integration — Ensure tests run reliably in pipelines
  6. Test Reporting — Generate HTML reports and JUnit XML

Primary Tool: Agent Browser

Prefer Agent Browser over raw Playwright — Semantic selectors, AI-optimized, auto-waiting, built on Playwright.

# Setup
npm install -g agent-browser && agent-browser install

# Core workflow
agent-browser open https://example.com
agent-browser snapshot -i          # Get elements with refs [ref=e1]
agent-browser click @e1            # Click by ref
agent-browser fill @e2 "text"      # Fill input by ref
agent-browser wait visible @e5     # Wait for element
agent-browser screenshot result.png

Fallback: Playwright

When Agent Browser isn't available, use Playwright directly.

npx playwright test                        # Run all E2E tests
npx playwright test tests/auth.spec.ts     # Run specific file
npx playwright test --headed               # See browser
npx playwright test --debug                # Debug with inspector
npx playwright test --trace on             # Run with trace
npx playwright show-report                 # View HTML report

Workflow

1. Plan

  • Identify critical user journeys (auth, core features, payments, CRUD)
  • Define scenarios: happy path, edge cases, error cases
  • Prioritize by risk: HIGH (financial, auth), MEDIUM (search, nav), LOW (UI polish)

2. Create

  • Use Page Object Model (POM) pattern
  • Prefer data-testid locators over CSS/XPath
  • Add assertions at key steps
  • Capture screenshots at critical points
  • Use proper waits (never waitForTimeout)

Read the full file on GitHub · 108 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. 8d ago First seen · 108 lines · 69 tokens per session scan A 89813024c93c

Subscribe to this mod's changes

e2e-runner is an agent published in the GitHub repository YousefNabil-SOC/claude-apex (2 stars, last pushed 2mo ago), licensed MIT. It adds 69 tokens to every session and 972 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to e2e-runner, differing in 6 lines, and is treated as a copy.

Related

Other agents, from other repositories

e2e-test-specialist

Playwright, Cypress, and visual regression testing specialist. Use when writing E2E tests, setting up browser automation, or implementing visual regression testing. Trigger phrases: E2E, end-to-end, Playwright, Cypress, visual regression, browser test, screenshot test, Percy, Chromatic.

travisjneuman/.claude · 67 tokens

test-generator

Generates comprehensive test suites using TDD patterns. Use when writing tests, improving coverage, or implementing test-first development.

travisjneuman/.claude · 27 tokens

forge-visual-verifier

Perceptual gate for spec [visual] acceptance criteria. Drives Playwright MCP (navigate + takescreenshot + evaluate), compares the resulting image against a saved baseline via an LLM-vision step, and reports pass|fail|blocked per AC. Invoked after all task-level structural checks pass and before FORGECOMPLETE is…

LucasDuys/forge · 81 tokens

gsd-integration-checker

Verifies cross-phase integration and E2E flows. Checks that phases connect properly and user workflows complete end-to-end.

travisjneuman/.claude · 31 tokens

test-engineer

Use this agent when you need to write comprehensive test suites, create test cases, implement testing strategies, or ensure code quality through testing. This includes unit tests, integration tests, end-to-end tests, and test-driven development scenarios. Context: The user needs tests written for a new feature or…

manutej/luxor-claude-marketplace · 0 tokens

e2e-runner

Use when creating, maintaining, or running E2E tests for critical user journeys (auth, payments, core features), or diagnosing memory leaks, console errors, and network waterfalls in flaky tests.

sangrokjung/claude-forge · 45 tokens