/browser-test:runnerfrom browser-test
Executes a stable, refined E2E test case exactly as documented. Follows test steps without deviation, reports pass/fail with evidence, and enforces environment gates and preconditions.
Ships in browser-test. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Executes a refined, stable E2E test case exactly as documented. No improvisation, no refinement - just faithful execution and clear pass/fail reporting.
Core principle: The test case is the source of truth. If a step fails, the test fails. Do not work around failures.
Do NOT use when:
browser-test:author)browser-test:refiner)tests/e2e/{area}/.mcp.json)E2E_BASE_URL set to a reachable environment)Read in order:
tests/e2e/conventions.md (global)tests/e2e/{area}/conventions.md (area)Read E2E_ENVIRONMENT from the environment (default: local). Check the test case's Environments line in preconditions. If the current environment is not listed, refuse to execute and report:
BLOCKED: {test name}
Reason: Test not allowed in "{environment}" (allowed: {environments list})
This is a hard stop - do not proceed, do not ask if the user wants to override.
Check each remaining precondition listed in the test case. If any are unmet, report and stop.
Read E2E_BASE_URL from the environment (default: http://localhost:5173). Use this value wherever the test references E2E_BASE_URL.
Follow Session Management from global conventions:
browser_close)E2E_BASE_URL - this starts a fresh browser instanceExecute the three hook sections in this order: ## Before Hook → ## Test Steps → ## After Hook . Validate the markdown has all three sections before starting — if any is missing, refuse to execute and report a malformed test case.
For each step in each section:
## After Hook step (try/finally semantics) so the next run starts from a clean fixture. Report the test as FAIL with the section name.On PASS:
PASS: {test name}
Order/Reference: {any generated ID}
Before Hook: {N}/{N}
Test Steps: {N}/{N}
After Hook: {N}/{N}
On FAIL:
FAIL: {test name}
Failed in: {Before Hook | Test Steps | After Hook}
Failed at: Step {N} - {step title}
Expected: {verification condition}
Actual: {what happened}
After Hook: {ran | partial | skipped} ({M}/{N} cleanup steps completed)
Screenshot: {path}
URL: {current URL}
## Before Hook → ## Test Steps → ## After Hook. After Hook runs even when Before Hook or Test Steps fails. A test case missing any of the three sections is malformed — refuse to execute and report.When asked to run multiple tests:
| Test | Result | Notes |
|------|--------|-------|
| season-pass-new-member | PASS | Order #TEST-RO-4643 |
| day-pass-purchase | FAIL | Step 5 - dropdown not found |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub autodesk/claude-browser-test-skills --plugin browser-test4 skills in this plugin
/authorUse when writing a new E2E browser test from a vague user description or feature requirement. Turns exploratory browser sessions into structured, reusable test cases./compilerUse when converting a refined markdown E2E test case into a standard Playwright .spec.ts file. Triggers on "compile this test", "convert to playwright", or "generate spec from markdown". Requires a stable markdown test case and a running dev server./refinerUse when an E2E test case exists but needs stabilization through repeated execution. Runs the test multiple times, identifies flaky steps, and updates the test case and conventions until deterministic.Other plugins' skills for the same job