playwright-cli

Installation
SKILL.md

Playwright CLI

Terminal-based browser automation using npx playwright. This skill covers the CLI surface: running tests, generating test code via codegen, taking screenshots/PDFs, and CI sharding flags.

Scope boundary

I want to... Use
Run E2E tests npx playwright test (this skill)
Record a browser session → test code npx playwright codegen (this skill)
One-off screenshot / PDF from a URL npx playwright screenshot / pdf (this skill)
Write / review / tune a Playwright test suite playwright-test skill
Agent-driven real-time browser control (navigate → click → read → assert) mcp__claude-in-chrome__* tools (not this skill)
Interactive data scraping / SPA exploration claude-in-chrome MCP tools or a Playwright script executed via npx playwright test

For data scraping / SPA flows where you need to programmatically navigate, click "Load More", extract DOM, and save JSON: write a tests/*.spec.ts and run npx playwright test. See playwright-test skill for the test-authoring patterns.

Quick Reference

Installs
46
Repository
mizchi/skills
GitHub Stars
252
First Seen
Apr 27, 2026
playwright-cli — mizchi/skills