playwright-cli

Microsoft's first-party Playwright skill, invoked through the CLI — the reference implementation for driving a real browser, with no credentials required.

Score 0(?)VerifiedCodeby MicrosoftSourceDocs
Verified for:

Install

$ playwright-cli install --skills

The repo README argues CLI invocation is more token-efficient than the MCP alternative. Bundles nine reference files (tracing, mocking, storage state, test generation).

Best for

Driving a real browser from the agent and working with an existing Playwright suite — navigation, assertions, tracing, video, request mocking, and test generation.

Not ideal for

Hosted scraping at scale. It drives a local browser, so rate limiting and anti-bot handling are your problem — reach for a hosted extraction skill when the target fights back.

About this skill

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

PlaywrightBrowserTesting

Score breakdown

Score breakdown

rubric 1.0
Install count
0/20
Provenance
12.8/15
GitHub stars
11.6/15
Recency
10/10
Compatibility
2/10
Documentation depth
10/10
Install ergonomics
10/10
License
5/5
Verification freshness
0.5/5

Composite 0–100 score derived from 9 verifiable signals. See the rubric →

Web scraping, search, and browser automation built to be agent-friendly.

ScrapingSearchWeb
All surfaces
Low3 min

Deterministic web control. ref-based clicks/fills, no flaky selectors, parallel sessions.

BrowserAutomationAction-taking
Code
Medium4 min

Headless browser as an agent tool. Navigate JS-heavy pages, fill forms, extract content.

HeadlessBrowserJS
Code
Medium5 min

Ranked #1 in Browser Automation

Publish the ranking in your README. The badge reads the live score, so it updates when the ranking does.

playwright-cli — ranked #1 in Browser Automation on Top Agent Skills
Markdown
[![playwright-cli — ranked #1 in Browser Automation on Top Agent Skills](https://top-agent-skills.com/badge/playwright-cli.svg)](https://top-agent-skills.com/skill/playwright-cli)
HTML
<a href="https://top-agent-skills.com/skill/playwright-cli"><img src="https://top-agent-skills.com/badge/playwright-cli.svg" alt="playwright-cli — ranked #1 in Browser Automation on Top Agent Skills"></a>

Head-to-head

playwright-cli vs the alternatives

Skill FAQ

About playwright-cli

What is the playwright-cli skill?

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

Which agents does playwright-cli work with?

Claude Code.

How do I install playwright-cli?

Run `playwright-cli install --skills` for Claude Code. See the install panel for per-agent commands.

Is playwright-cli free to use?

Yes — playwright-cli is open source (Apache-2.0).

Who maintains playwright-cli?

playwright-cli is published by Microsoft and was last updated on 2026-08-13.

What is playwright-cli best for?

Driving a real browser from the agent and working with an existing Playwright suite — navigation, assertions, tracing, video, request mocking, and test generation.