microsoft avatar

Playwright Cli

This is browser automation through Playwright's CLI, wrapped as a skill for Claude. You get commands to open browsers, navigate pages, click elements by reference, type text, and capture screenshots without writing test scripts. It's useful when you need to automate web interactions on the fly or debug browser behavior during development. The ref-based interaction model (like "click e15") means Claude can work with page snapshots to target specific elements. With 90k stars on the Playwright repo and 440 installs here, it's clearly solving a real need. Best for quick automation tasks where spinning up a full test suite would be overkill.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
9
skills.sh installs
540
GitHub stars
99.7K
last updated
Aug 21, 2026

Install

$ npx -y skills add microsoft/playwright --skill playwright-cli --agent claude-code

Installs into .claude/skills of the current project.

Files

Browser Automation with playwright-cli

Quick start

# 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

Sponsors

Details

Repository
github.com/microsoft/playwright
Categories
Testing & QA, Automation & Workflows, CLI & Terminal
First seen
Jun 3, 2026

More from microsoft/playwright

All 4
1jezweb avatarplaywright-localjezweb/claude-skillsBuild browser automation and web scraping with Playwright on your local machine. Prevents 10 documented errors including CI timeout hangs, extension testing fai505skills.sh installs
2aj-geddes avatarstress-testingaj-geddes/useful-ai-promptsTest system behavior under extreme load conditions to identify breaking points, capacity limits, and failure modes. Use for stress test, capacity testing, break503skills.sh installs
3aj-geddes avatarproperty-based-testingaj-geddes/useful-ai-promptsDesign property-based tests that verify code properties hold for all inputs using automatic test case generation. Use for property-based, QuickCheck, hypothesis454skills.sh installs
4openclaudia avatarab-test-setupopenclaudia/openclaudia-skillsDesign, plan, and analyze A/B tests with statistical rigor. Use when the user asks about A/B testing, split testing, experiment design, statistical significance427skills.sh installs
5bobmatnyc avatarhono-testingbobmatnyc/claude-mpm-skillsHono testing patterns - app.request(), test client, mocking environment, and integration testing strategies422skills.sh installs
6pproenca avatarreact-testing-librarypproenca/dot-skillsReact Testing Library best practices for writing maintainable, user-centric tests. Use when writing, reviewing, or refactoring RTL tests. Triggers on test files418skills.sh installs