AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Playwright CLI Browser Automation

Terminal-first browser control for navigating, filling forms, capturing media, mocking network calls, debugging and generating Playwright tests.

Dev & CodingIntermediate★ 430⑂ 70AI score 9/10Last updated: Nov 25, 2026

What it does

Teaches Claude to drive a real browser through playwright-cli without writing script files. It covers opening and navigating pages, taking accessibility snapshots to get element refs, clicking/filling/selecting/uploading, screenshots, PDFs and video, cookie/localStorage/session state management, saved auth state, network request mocking, trace-based debugging, and parallel named sessions — with links to deeper guides for test generation and device emulation.

Who it's for

  • QA engineers building and maintaining E2E suites
  • Frontend developers who want the agent to verify UI behavior directly
  • Teams repeatedly validating login, checkout, or signup flows

Examples

  1. "Open localhost:3000, fill the signup form through step 3 and screenshot each step" → open → snapshot → fill/click → screenshot --filename=signup-step3.png
  2. "Log in once, save state to auth.json, then reuse it for later checks" → state-save / state-load
  3. "Mock the payment API to return a 500 and record a trace of how the UI reacts" → route + tracing-start/tracing-stop

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/testdino-hq/playwright-skill/HEAD/playwright-cli/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the playwright-cli folder from the GitHub repo testdino-hq/playwright-skill into my ~/.claude/skills/playwright-cli/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/testdino-hq/playwright-skill.git /tmp/playwright-skill && mkdir -p ~/.claude/skills && cp -r /tmp/playwright-skill/playwright-cli ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Make sure Node.js is installed (node -v).
  2. Install the CLI: npm install -g @playwright/cli@latest
  3. Download browsers: playwright-cli install-browser
  4. Clone the skill repo: git clone https://github.com/testdino-hq/playwright-skill.git
  5. Copy the skill folder: mkdir -p ~/.claude/skills && cp -r playwright-skill/playwright-cli ~/.claude/skills/
  6. Restart Claude Code and try: "use playwright-cli to open http://localhost:3000 and take a snapshot".
  7. Only automate applications you own or have explicit authorization to test.