mcpbeat Sign in

Quality Engineering Playwright CLI Agent Skill

Standardizes token-efficient browser automation via playwright-cli. Use for web verification, navigation, and capturing snapshots/logs.

4k tokens
context cost
the whole folder, loaded on every use
3
files
instructions only
0
copies elsewhere
how many repositories repackaged it
536
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/HoangNguyen0403/agent-skills-standard --skill quality-engineering-playwright-cli

What comes with it

12 521 bytes besides the instruction
references/anti-patterns-rationale.md
references/project-context.md

The instruction itself

10 sections, as written by the author

🎭 Playwright CLI (Web Automation)

Priority: P1 (HIGH)

> [!IMPORTANT]

> Tier 0 (Infrastructure): Browser process management, named sessions, network/console logs.

> Tier 1 (Core Interactions): Clicks, fills, and navigation (open vs goto).

> Tier 2 (Verification): Snapshot-based assertions and auth state persistence.

🔌 Activation

Triggers: playwright-cli, browser automation, web verify, snapshot, auth-state.json.

🛠 Core Workflow

| Step | Command | Purpose |

| :--- | :--- | :--- |

| 1 | playwright-cli -s={ID} open <url> | Start named session. (Mandatory -s=). |

| 2 | playwright-cli -s={ID} snapshot --aria | Aria Snapshot: YAML-like view for LLM reasoning (Best for assertions). |

| 3 | playwright-cli -s={ID} console | Check for JS errors/warnings. |

| 4 | playwright-cli -s={ID} screenshot | Visual evidence. Use --mask <ref> for dynamic content. |

| 5 | playwright-cli -s={ID} close | MANDATORY Cleanup. |

For a sticky header that appears after scrolling, scroll until the header is visible, use hover on the header (or its stable role/reference) to establish the visible state, then capture the screenshot. Keep the named session open until the evidence is captured.

💡 Agent-Native Optimization

  • Aria-First: Use snapshot --aria as primary way to "see" page. Filters noise.
  • Robust Locators: Prefer Role-based references (e.g. button[name="Submit"]) over fragile CSS classes.
  • Visual Stability: evaluated document.body.style.animation = 'none' to freeze animations before capture.

🚫 Anti-Patterns (Zero-Tolerance)

  • Unnamed Sessions: Never omit -s=. Bare commands collide across concurrent runs.
  • Double Open: Use open for first run; goto for mid-session navigation.
  • Unmasked Snapshots: Mask clocks/random IDs before comparison to avoid false positives.
  • Orphaned Processes: Always close session, even on failure.

✅ Evaluation Criteria

  • Cleanup Rate: 100% session closure.
  • Assertion Quality: 90% of assertions use snapshot rather than pixels.
  • Auth Persistence: Successful re-use of state-load for multi-step flows.

🔗 References

  • Web Visual Testing: common-web-visual-testing — Methodology for what to verify.
  • Anti-Patterns Rationale: anti-patterns-rationale — Why these rules exist.
  • Project Context: project-context — Project-specific market/VPN/auth patterns.

Canonical response anchors

When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:

  • 🎭 Playwright CLI (Web Automation)

Remediation anchors

  • Remediation anchors: hover, screenshot

Other skills for the same job

different authors, same section of the catalogue
Webapp Testing
by anthropics
vendor ×12

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

6k tokens scripts
Notebooklm
by ZhanlinCui
×6

Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.

26k tokens scripts
Playwright Skill
by lackeyjb
×4

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions, validate web functionality, or perform any browser-based testing.

12k tokens scripts
Electron
by vercel-labs
vendor ×2

Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.

2k tokens
Anchor Browser Automation
by christophacham
×2

Automate Anchor Browser tasks via Rube MCP (Composio). Always search tools first for current schemas.

756 tokens needs MCP
Browser Tool Automation
by christophacham
×2

Automate Browser Tool tasks via Rube MCP (Composio). Always search tools first for current schemas.

749 tokens needs MCP
Giil
by Dicklesworthstone
×2

Get Image [from] Internet Link - Zero-setup CLI for downloading full-resolution images from iCloud, Dropbox, Google Photos, and Google Drive share links. Four-tier capture strategy, browser automation, HEIC conversion, album support. Node.js/Playwright.

3k tokens
Browser Extension Builder
by ComeOnOliver
×2

Expert in building browser extensions that solve real problems - Chrome, Firefox, and cross-browser extensions. Covers extension architecture, manifest v3, content scripts, popup UIs, monetization strategies, and Chrome Web Store publishing. Use when: browser extension, chrome extension, firefox addon, extension, manifest v3.

4k tokens

How to use it

Copy the folder

Take hoangnguyen0403/quality-engineering-playwright-cli from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.