Playwright CLI

Automate browser interactions, test web pages and work with Playwright tests.

4 stars 1 forksTesting & QA Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add pytholic/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add pytholic/claude-skills --skill playwright-cli
Manual install
git clone --depth 1 https://github.com/pytholic/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/playwright-cli ~/.claude/skills/playwright-cli

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Browser Automation with playwright-cli

## Quick start

```bash
# open new browser
playwright-cli open
# navigate to a page
playwright-cli goto https://playwright.dev
# interact with the page using refs from the snapshot
playwright-cli click e15
playwright-cli type "page.click"
playwright-cli press Enter
# take a screenshot (rarely used, as snapshot is more common)
playwright-cli screenshot
# close the browser
playwright-cli close
```

## Commands

### Core

```bash
playwright-cli open
# open and navigate right away
playwright-cli open https://example.com/
playwright-cli goto https://playwright.dev
playwright-cli type "search query"
playwright-cli click e3
playwright-cli dblclick e7
# --submit presses Enter after filling the element
playwright-cli fill e5 "user@example.com"  --submit
playwright-cli drag e2 e8
playwright-cli hover e4
playwright-cli select e9 "option-value"
playwright-cli upload ./document.pdf
playwright-cli check e12
playwright-cli uncheck e12
playwright-cli snapshot
playwright-cli eval "document.title"
playwright-cli eval "el => el.textContent" e5
# get element id, class, or any attribute not visible in the snapshot
playwright-cli eval "el => el.id" e5
playwright-cli eval "el => el.getAttribute('data-testid')" e5
playwright-cli dialog-accept
playwright-cli dialog-accept "confirmation text"
playwright-cli dialog-dismiss
playwright-cli resize 1920 1080
playwright-cli close
```

### Navigation
Read the full skill on GitHub

Details

Skill name
playwright-cli
Path
playwright-cli/SKILL.md
Repo updated
30 October 2026
Copies
Found in 3 GitHub repos

FAQ

What does the Playwright CLI skill do?

Automate browser interactions, test web pages and work with Playwright tests.

How do I install the Playwright CLI skill?

Claude Code plugin: /plugin marketplace add pytholic/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Playwright CLI popular?

It lives in pytholic/claude-skills, which has 4 GitHub stars and 1 forks, and is included in 1 curated skill list.

Related skills

Test

9

thechandanbhagat/claude-skills

Generate unit tests, integration tests, and test data. Use when writing tests, improving test coverage, or creating test scenarios.

Testing & QA

Setup Pre Commit

5

GAGAA-HUE/ASHUO-claude-skills

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

Testing & QAIn 2 lists

Screenshot

5

sawallesalfo/claude-skills

Capture a full-page screenshot of any public URL using Playwright's headless Chromium browser. Use this skill whenever the user provides a URL and asks to take a screenshot, capture a page, grab a visual snapshot, or see what a website looks like. Also trigger when the user says things like "screenshot this", "capture this page", "show me what this site looks like", or "get a screenshot of [URL]". Works on GitHub, Docker Hub, dev.to, npm, PyPI, and any public website. No API key required — uses a local headless browser via Playwright.

Testing & QA

Rpk Cluster

9

redpanda-data/skills

Operate a Redpanda cluster from the CLI with the `rpk cluster` command group, and look up cluster commands and properties in the Redpanda docs. Use when checking cluster health or metadata, decommissioning or recommissioning brokers, getting, setting, importing, or resetting cluster config properties, balancing, moving, or recovering partitions, enabling maintenance mode, setting broker log levels, finalizing an upgrade, managing client quotas, running self-tests, restoring or mounting topics from Tiered Storage, or managing the Enterprise license and the cluster properties that turn on Enterp

Testing & QA

Instagram Publish

10

artguru-tech-team/claude-skills-public

Use when publishing Instagram carousels from HTML files — covers export to PNG at 1080x1350px via Playwright and upload via Upload-Post API. Includes contrast check checklist before export.

Testing & QA

TDD Implement

8

UserAd/ClaudeSkills

Execute TDD implementation with a 3-agent team (QA, Implementor, Reviewer) following Red-Green-Review cycle. Use when Claude needs to (1) implement features using TDD methodology, (2) run a multi-agent team for code changes, (3) enforce minimal working code through test-driven development. Triggers on "tdd", "implement with tdd", "tdd team", "red green refactor", "tdd implement".

Testing & QA

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.