/browser-agent-qa-wizard:browser-agent-qa-wizardfrom browser-agent-qa-wizard
Ultimate browser-agent QA workflow for web apps. Use when the user asks to test, audit, verify, break, smoke-test, or regression-test UI, navigation, forms, authenticated flows, responsive behavior, accessibility, or AI-powered features using a real browser, Browserbase, Stagehand, agent-browser, browse, Playwright, or AutoBrowse-style iteration.
Ships in browser-agent-qa-wizard. 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.
Read when SKILL.md points to them.
This skill turns the agent into an adversarial QA lead with a real browser. It starts from the Chrome UI Design Tester discipline, then adds Browserbase/Stagehand agent workflows, browse/agent-browser command paths, deterministic assertions, functional navigation checks, AI-feature validation, and self-improving automation loops.
Choose the strongest available runtime for the target:
| Runtime | Use When | Evidence |
|---|---|---|
agent-browser | Codex can drive the local browser directly, especially localhost/dev server verification. | snapshots, screenshots, URL/title/text, interactions |
browse CLI | Running the UI Test skill workflow, parallel sessions, or Browserbase-backed deployed-site QA. | step markers, failure screenshots, accessibility tree |
| Chrome/Playwright helper | Design/responsive audits, visual captures, console/network/overflow checks. | viewport screenshots, console/page/network JSON |
| Stagehand | Natural-language actions/extraction are useful, Browserbase sessions are needed, or a repeatable agent plan is being prototyped. | action log, session URL/ID, screenshots, JSON summary |
| AutoBrowse loop | The goal is to build or improve a reusable browser automation skill for a specific site/task. | iteration traces, strategy.md, final graduated skill |
If the target is localhost or 127.0.0.1, start with a local browser. If the target is deployed/staging or needs cloud reliability, use Browserbase/Stagehand when credentials exist.
Before executing non-trivial QA, produce three short planning rounds:
action -> expected result.Deduplicate into a numbered test plan. Group tests by independence and run them in parallel only when sessions can stay isolated. Every test must have an assertion that can pass or fail.
Inspect the target project before running:
git status --short
rg --files -g "package.json" -g "pnpm-lock.yaml" -g "package-lock.json" -g "yarn.lock"
rg "\"(dev|test|build|lint)\"" package.json
Find or start the dev server using the repo's scripts. Verify the route renders real content:
agent-browser open http://localhost:3000
agent-browser wait --load networkidle
agent-browser snapshot -i
For browse, use local mode for localhost:
browse stop
browse open http://localhost:3000 --local
browse snapshot
For Browserbase/Stagehand, require BROWSERBASE_API_KEY and a model/provider key. Stagehand v3 supports env: "BROWSERBASE" and env: "LOCAL", and exposes act, extract, observe, and agent primitives. Use code for known stable actions and Stagehand AI for unfamiliar or changing surfaces.
Every step emits exactly one result marker:
STEP_PASS|<test-id>|<evidence>
STEP_FAIL|<test-id>|<expected> -> <actual>|<screenshot-path>
STEP_SKIP|<test-id>|<reason>
Evidence must include at least one of:
eval returned expected structured data.Use the before/after loop for interactions:
agent-browser snapshot -i
agent-browser click @e1
agent-browser wait --load networkidle
agent-browser snapshot -i
or with browse:
browse snapshot
browse click @0-12
browse snapshot
Cover these when relevant:
AI features need product and safety checks in addition to UI checks:
Prefer deterministic assertions such as JSON schema validation, source count checks, citation URL presence, and run status transitions. Treat the model's prose as untrusted until validated.
Use Stagehand for mixed natural-language/code browser tasks:
import { Stagehand } from "@browserbasehq/stagehand";
const stagehand = new Stagehand({ env: "BROWSERBASE" }); // or "LOCAL"
await stagehand.init();
const page = stagehand.context.pages()[0];
await page.goto(targetUrl);
await stagehand.act("click the login button");
const actions = await stagehand.observe("find submit buttons");
const agent = stagehand.agent({ mode: "cua" });
await agent.execute({ instruction: "complete the signup flow", maxSteps: 20 });
await stagehand.close();
Use scripts/stagehand-qa-runner.mjs for a small dependency-aware runner:
node ${CLAUDE_PLUGIN_ROOT}/scripts/stagehand-qa-runner.mjs --url <url> --plan qa-plan.json --out .context/browser-agent-qa --env BROWSERBASE
The plan file is:
{
"checks": [
{ "id": "signup-invalid-email", "instruction": "Submit the signup form with an invalid email and verify an inline error appears.", "maxSteps": 12 },
{ "id": "nav-pricing", "instruction": "Navigate to pricing using visible navigation and verify the pricing page loads.", "maxSteps": 8 }
]
}
If Stagehand or Playwright dependencies are missing, report the setup command instead of installing dependencies silently.
Use AutoBrowse when the user wants a reusable skill for a site/task:
./autobrowse/tasks/<task>/task.md in the current workspace.strategy.md.This is for improving automation reliability, not for one-off QA reports.
Return failures first:
## Browser Agent QA Results
Tests: N | Passed: N | Failed: N | Skipped: N | Pass rate: N%
### Failures
| ID | Area | Expected | Actual | Evidence | Severity | Suggested fix |
|---|---|---|---|---|---|---|
### Passed
| ID | Evidence |
|---|---|
### Coverage
| Surface | Result | Evidence |
|---|---|---|
### Not Verified
- item - reason
For implementation work, stop after the audit unless the user already approved exact issue IDs or explicitly requested fixes.
references/browser-playwright-chrome-protocol.mdreferences/audit-rubric.mdreferences/design-drift-gates.mdreferences/responsive-verification.mdreferences/stagehand-browserbase-protocol.mdreferences/ai-feature-qa.mdreferences/ai-feature-qa.md (opens in a new tab)references/audit-rubric.md (opens in a new tab)references/browser-playwright-chrome-protocol.md (opens in a new tab)references/claude-design-comparison.md (opens in a new tab)references/design-drift-gates.md (opens in a new tab)references/responsive-verification.md (opens in a new tab)references/stagehand-browserbase-protocol.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub andrewr303/claude-codex-plugin-lab --plugin browser-agent-qa-wizard