c/frontend › command
0votes

Playwright CLI browser automation (Microsoft)

Skill
submitted by CommandVault editors to c/frontend

Control a real browser from the terminal with playwright-cli: navigate, click, fill, test.

Teaches Claude to automate a browser through the playwright-cli tool instead of an MCP server, which keeps context use low. It covers opening pages, reading accessibility snapshots, clicking and filling by element reference, uploads, screenshots, tabs and sessions, and working with Playwright tests. Reference files cover advanced commands. Requires the @playwright/cli package (npm install -g @playwright/cli).

Try asking:

  • "Open our staging site and test the login flow"
  • "Fill out this web form and take a screenshot"
  • "Write a Playwright test for the search page"

Source: microsoft/playwright-cli · Apache-2.0 · by Microsoft

0 commentsreport

Install this skill

Agent Skills are folders with a SKILL.md file. Most AI coding tools load them automatically when a task matches the description. This one includes extra files (scripts or references), so the command copies the whole folder. Tip: .agents/skills/ is read by Codex, Cursor, Copilot, Gemini CLI, Grok and Windsurf.

One command
npx commandvault add playwright-cli-browser-automation-microsoft-40136535 --tool claude
Install (run in your project folder)
npx degit microsoft/playwright-cli/skills/playwright-cli .claude/skills/playwright-cli

Use it: Claude uses it automatically when a task matches, or type /playwright-cli.

From Claude Code's docs , checked Oct 17, 2026.

Made by Microsoft, Apache-2.0 license. Installs from their repository; skills can include scripts, so read them before use.

In the Claude apps, zip the folder and upload it under Settings → Capabilities → Skills.

More from c/frontend

See all of c/frontend →
0 comments

Log in to join the discussion.