/test-automation-skills-agents:qa-functional-testingfrom test-automation-skills-agents
Runs functional and exploratory tests in a live browser using playwright-cli. Handles test-case execution, flow exploration on staging/QA, checkout/form flows, and bug evidence capture with manual login.
Ships in test-automation-skills-agents. 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.
Primary method for functional testing in a browser. playwright-cli returns only
the output of each command, and files go to disk instead of into the conversation.
If playwright-cli cannot do the job, fall back to chrome-devtools-mcp.
If a playwright-cli skill is also loaded (this repository's or the one that
ships with the CLI), the rules here take precedence for functional test runs.
That skill documents state-save, cookie-get and printing snapshots, which
are forbidden here.
playwright-cli --version >= 0.1.24. Install it with one of:
brew install playwright-cli (pulls in Homebrew's node).npm install -g @playwright/cli.playwright-cli install-browser chromium.<evidence-root> is a folder outside the repository, agreed with the team
(for example ~/Downloads).--profile with a space, not =, so bash expands ~. In PowerShell use
$HOME/.playwright/profiles/<client>.cookie-list,
cookie-get, localstorage-list, localstorage-get, sessionstorage-list,
sessionstorage-get, request-headers or response-headers, and no eval
that reads document.cookie, localStorage or sessionStorage. Redirect
request <n> to a file (it prints Cookie and Authorization), and redact
tokens in requests URLs before quoting them.tracing-start and video-start only after the login is verified. A
trace recorded during login keeps the credentials POST in its network log.state-save,
state-load, .auth/*.json or attach --extension, and never run
delete-data unless the user asks (it wipes the profile and its session).open,
goto, redirect and new tab, check location.host against the hosts
approved in the plan; if it is not on that list, stop and ask.-s=<session> on every command, same name for the whole run.find or eval --raw (under 1K), or snapshot --filename and
grep the file. Screenshots always go to a file with --filename; never read
them back unless the image itself has to be inspected..playwright-cli/ folder into the current directory; keep it out of the
repository and of any shared working folder.find or snapshot. Never invent a ref.Propose and wait for approval:
mkdir -p <evidence-root>/<PROJECT>/<Evidence or Ticket>/{evidence,tmp}
cd <evidence-root>/<PROJECT>/<Evidence or Ticket>
S="-s=<session>"
playwright-cli $S open <URL> --headed --persistent \
--profile ~/.playwright/profiles/<client>
For a mobile case add --device "iPhone 15" to open. Device names are
Playwright's and case-sensitive ("iphone 15" fails with Unknown device).
If the page needs authentication, open the login page and ask the user to sign in. Wait for their "login ready", then verify host and page:
playwright-cli $S eval "() => ({host: location.host, url: location.pathname, title: document.title})" --raw
The profile keeps the session between runs; if a page redirects to login, ask again.
playwright-cli $S goto <URL>
playwright-cli $S eval "() => location.host" --raw # must be an allowed host
playwright-cli $S find "Checkout" --max-results 3
playwright-cli $S find --regex "log ?in|account" --max-results 5
playwright-cli $S snapshot --filename=tmp/page.md # then grep the file
playwright-cli $S eval "() => ({h1: document.querySelector('h1')?.innerText})" --raw
Prefer one eval that returns a small object with everything the step needs
(URL, heading, values, button states) over several separate commands. Keep
eval bodies short; put longer logic in a file and use run-code --filename
(step 4). For large results use eval --filename=tmp/<name>.json or
find --filename=tmp/<name>.md and grep the file.
Popups and dialogs (payment pages, 3-D Secure, confirm boxes):
playwright-cli $S tab-list
playwright-cli $S tab-select <index>
playwright-cli $S dialog-accept # or dialog-dismiss
playwright-cli $S click <ref>
playwright-cli $S fill <ref> "value"
playwright-cli $S select <ref> "option"
playwright-cli $S check <ref>
playwright-cli $S press Enter
playwright-cli $S upload ./fixtures/file.pdf
playwright-cli $S resize 393 852
Multi-step wizards and configurators: write the steps in a file and run them in
one call. The file holds a single function expression that receives page;
import, require and Node modules are not available.
// tmp/steps.js
async page => {
await page.getByRole('radio', { name: 'Standard' }).check();
await page.getByRole('button', { name: 'Next' }).click();
return { url: page.url() };
}
playwright-cli $S run-code --filename=tmp/steps.js --raw
Field notes on wizards and configurators:
aria-disabled="true" instead of
disabled; check both before clicking.playwright-cli $S eval "() => ({url: location.pathname})" --raw
playwright-cli $S eval "() => document.querySelector('[data-testid=total]')?.innerText" --raw
playwright-cli $S find "Order confirmed"
Compare every step against its acceptance criterion. No error on screen is not a PASS.
For visual deviations report expected (Figma) and actual (computed style from eval).
List the evidence folder first and continue from the highest number; never overwrite.
playwright-cli $S screenshot --filename=evidence/<ID>-Evidence_<N>.png
playwright-cli $S screenshot --filename=evidence/<ID>-Evidence_<N>.png --full-page
playwright-cli $S screenshot --filename=evidence/<ID>-Evidence_<N>.png --hires # device pixels, for visual bugs
playwright-cli $S console error
playwright-cli $S requests --filter "/api/" > tmp/requests.txt # can be thousands of tokens; --all adds earlier pages
playwright-cli $S request <n> > tmp/request-<n>.txt # holds Cookie/Authorization: never print it
sed '/Request headers/q' tmp/request-<n>.txt # safe part: method, URL, status, timing
playwright-cli $S response-body <n> > tmp/response-<n>.txt # then grep the error message
Tracing and video, only after the login is verified (rule 3):
playwright-cli $S tracing-start
playwright-cli $S tracing-stop # writes to .playwright-cli/traces/
cp -r .playwright-cli/traces evidence/<ID>-trace
playwright-cli $S video-start evidence/<ID>.webm
playwright-cli $S video-show-actions # annotate each action in the video
playwright-cli $S video-chapter "Step 3 - Payment"
playwright-cli $S video-stop
Traces include request headers with session cookies: share them only inside the
team, and never open the .network file in the conversation.
On a failure capture a full-page screenshot, console error, and the relevant
request (safe part plus response body); report URL, steps, expected vs actual;
ask whether to continue.
Bug report template (English):
Title:
Severity: Critical | High | Medium | Low
URL:
Steps:
Expected:
Actual:
Console:
Network:
Evidence:
Severity scale:
playwright-cli $S generate-locator <ref>
playwright-cli $S recording-start
playwright-cli $S recording-stop
Deliver the spec draft in the evidence folder without committing it. Prefer accessible roles and labels; avoid brittle CSS and XPath.
playwright-cli $S close
Report anything left behind on the environment (cart items, draft quotes, test records).
open fails or hangs because the profile is in use: run playwright-cli list
and close the old session with playwright-cli -s=<old> close. If it is stale,
playwright-cli close-all; as a last resort playwright-cli kill-all, which
kills every session on the machine.Unknown device "...": use Playwright's exact, case-sensitive device name,
for example "iPhone 15".tmp/...: No such file or directory on a > redirect: the shell does not
create folders; create tmp/ as in step 2.bad interpreter: /opt/homebrew/opt/node/bin/node (Homebrew install): run
brew install node.evidence/.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fugazi/test-automation-skills-agents --plugin test-automation-skills-agents11 skills in this plugin
/a11y-playwright-testingAccessibility testing for web applications using Playwright (@playwright/test), TypeScript, and axe-core. Use to write, run, or debug WCAG 2.2 AA checks, keyboard and focus tests, ARIA/semantic validation, accessible names, form labels, color contrast, or screen-reader test patterns. Keywords: accessibility, WCAG, axe-core, keyboard navigation, focus management, ARIA./accessibility-selenium-testingAccessibility testing toolkit using Selenium WebDriver 4+ with Java 21+ and axe-core engine. Use when asked to validate WCAG 2.2 AA compliance, scan pages or components for a11y violations, test keyboard navigation, audit color contrast, check ARIA semantics, generate accessibility reports, filter axe rules, debug screen reader issues, or implement POUR principles (perceivable, operable, understandable, robust)./api-testingTest REST and GraphQL endpoint contracts using Playwright request fixture (TypeScript) or REST Assured (Java). Use for standalone API tests covering schemas, auth, status/error handling, pagination, idempotency, rate limits, or contract checks; not for browser E2E specs. Keywords: REST, GraphQL, API contract, schema validation, REST Assured./grill-me-qaA guided interview to challenge and validate QA automation plans, test strategies, and framework designs before implementation. Use when the user wants to validate a test architecture, challenge a testing decision, prepare an AI-assisted testing rollout, or uses any "grill" trigger phrase (grill my test plan, audit my QA automation framework, challenge my QA strategy, review my test architecture)./playwright-cliDrive a live browser from the CLI with playwright-cli to navigate, interact, snapshot, and capture evidence. Use for ad-hoc browser commands, page inspection, screenshots, traces, network mocking, session management, or interactive debugging—not authoring @playwright/test specs. Keywords: playwright-cli, browser automation, live session, snapshot, console, tracing./playwright-e2e-testingAuthor and maintain versioned Playwright (@playwright/test) TypeScript UI specs for browser user flows. Use when asked to create, run, debug, or refactor E2E tests, form/navigation/auth flows, responsive checks, UI mocking, fixtures, Page Objects, or visual comparisons. Use api-testing for standalone REST/GraphQL contracts and playwright-cli for live browser sessions. Keywords: E2E spec, Playwright test, POM, fixtures, UI regression.Other plugins' skills for the same job