Skip to content

Playwright CLI

Microsoft's token-efficient browser automation and testing for coding agents.

Official vendorby MicrosoftChecked October 18, 2026

Microsoft's command-line version of Playwright built for agents, with a skill that teaches Claude its commands. It uses fewer tokens than an MCP server while still clicking, typing and testing real pages.

Who it is for

  • QA engineers
  • Developers
  • Automation builders

Prompts to try

Once the skill is installed, ask for the result in plain words. Claude picks the skill up on its own.

Prompt 1
Use playwright to test the todo app at demo.playwright.dev
Prompt 2
Log into our staging site and check the dashboard loads
Prompt 3
Write a Playwright test for the contact form

How to install it

In Claude Code

  1. npm install -g @playwright/cli@latest
  2. playwright-cli install --skills

In Claude.ai

Not practical in Claude.ai because the skill drives local command-line tools, so use Claude Code.

Unlock the install steps

Free. Leave your email once to open the install steps for all 149 skills, and get the best new skills each month.

No spam. One click to unsubscribe. We use your email to send you the course and AI tips.

How we checked it

Confirmed SKILL.md at skills/playwright-cli/SKILL.md in microsoft/playwright-cli via the GitHub API; skill folder last changed 2026-09-28, repo has 14,308 stars and was pushed 2026-10-14.

Source: github.com/microsoft/playwright-cli/tree/main/skills/playwright-cli