playwright-triage
Skill15k starsChanged 7 months agoApache-2.0View on GitHub
Triage and fix one microsoft/playwright-cli issue, or do a maintainer's task, unattended inside the Issue triage GitHub Actions workflow (.github/workflows/triage.yml), which a needs-triage, needs-triage-mac or needs-triage-win label starts, or a maintainer starts by hand with an issue, a task or both. Reproduces the issue on the runner, then leaves a verified fix proposal for the workflow to open as a draft PR, in this repo or in microsoft/playwright where the source of the CLI is, or an investigation note for it to post on the issue. Only for that workflow.
- Installs packages
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 51
When the fix is in $PLAYWRIGHT_DIR, follow the Fix section of the guide there, in place of $REPO_DIR: create the branch fix-<n> from main …
- Very specific: line 100
Do not run a PR in this repo that changes package.json, package-lock.json, scripts/, .github/, .azure-pipelines/ or .claude/.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Playwright CLI Issue Triage
You run unattended in the Issue triage workflow of
microsoft/playwright-cli. First read the shared guide, $AGENT_GUIDES_DIR/triage.md, a copy of
microsoft/playwright/.github/actions/run-agent/guides/triage.md,
and then CLAUDE.md, both in full. The guide says how to triage an issue in any
Playwright repo. CLAUDE.md says how to build, test and lint this one. This file covers what neither
has: where the code is, the checkouts, how to run a published version, and the outcome that this
repo adds, a fix in microsoft/playwright.
Where the code is
This repo is the npm package @playwright/cli: playwright-cli.js with its update check,
skillCheck.js, the README, the skill in skills/playwright-cli/ and some tests of the packaged
CLI. package.json pins the alpha of playwright and playwright-core that the package runs. The
CLI is in microsoft/playwright, in packages/playwright-core/src/tools/: cli-client/ has the
commands and their options, cli-daemon/ has the daemon that keeps the browser open between
commands, and backend/ has the tools that the commands run. Most bugs and most feature requests
are fixed there.
Fix a bug here only when the cause is in a file that this repo owns. skills/playwright-cli/ is a
copy of packages/playwright-core/src/tools/skills/playwright-cli/, which scripts/update.js
refreshes on a roll, so its fix is upstream too.
The checkouts
$REPO_DIR is the checkout of microsoft/playwright-cli that the guide describes. npm ci ran in
it, and the browsers of the pinned version are installed. The CLI uses Google Chrome from the
runner image by default. When it is missing, install it with npx playwright install chrome. The
clone is shallow: run git fetch --unshallow --tags origin in it
before you need its history.
$PLAYWRIGHT_DIR is a clone of microsoft/playwright at the tip of main, next to $REPO_DIR.
npm ci and npm run build ran in it, and Chromium, Firefox and WebKit are installed. It is
tip-of-tree for this repo: reproduce there, as a test in its tests/mcp/cli-*.spec.ts, with the
cli fixture of tests/mcp/cli-fixtures.ts. npm run test-playwright-cli runs those tests. Read
its AGENTS.md in full before you write the test. It says how to build, test and lint it. The
clone has the full history, without file contents until git needs them, so git log and
git tag --contains work there.
The pinned version is older than tip-of-tree. npm view playwright-core@<alpha> gitHead prints the
upstream commit that an alpha was built from.
Fix in microsoft/playwright
When the fix is in $PLAYWRIGHT_DIR, follow the Fix section of the guide there, in place of
$REPO_DIR: create the branch fix-<n> from main in $PLAYWRIGHT_DIR, put the regression test
in its tests/mcp/cli-*.spec.ts, build and lint as its AGENTS.md says, and commit in its
convention, for example fix(cli): .... Then leave the proposal in $OUTPUT_DIR/upstream-fix/ in
place of $OUTPUT_DIR/fix/, with the same files:
fix.patch: the output ofgit diff --binary main HEADin$PLAYWRIGHT_DIR.pr-body.md: as the guide says. TheFixesline has the full URL of the issue,Fixes https://github.com/microsoft/playwright-cli/issues/<n>, so that the PR closes the issue in this repo.proposal.json: as the guide says. Write it last.
The publish job opens the draft PR in microsoft/playwright. The revision workflow of that repo
addresses the review. Leave one proposal: fix/ or upstream-fix/, not both. Do not change
package.json here to pick up the fix. It reaches @playwright/cli with the next roll.
Check the linked PRs in both repos. A PR in microsoft/playwright links this issue with its
full URL or as microsoft/playwright-cli#<n>. Search there too:
repo:microsoft/playwright is:pr "playwright-cli/issues/<n>" and
repo:microsoft/playwright is:pr "playwright-cli#<n>". A PR there from the team or from
microsoft-playwright-automation is a team PR. Verify a PR there in $PLAYWRIGHT_DIR.
Already fixed means that tip-of-tree passes and the pinned version fails. The fix reaches users
with the next roll. Find the upstream PR with
git -C $PLAYWRIGHT_DIR log <gitHead of the pinned alpha>..main -- packages/playwright-core/src/tools,
and name it in the note.
Published versions
To run a published version, for example the version of the reporter or to bisect, create
$SCRATCH_DIR/playwright-cli-<n>/<version>/ and run there:
npm init -y
npm i @playwright/cli@<version>
npx playwright-cli --helpThe fixtures of the repo are not available there. Run the condensed repro as npx playwright-cli
commands, or as a script that spawns them, in that directory. Serve the page from a data: URL or
from http.createServer() in the script. Run npx playwright-cli close-all when you are done, so
that no daemon stays open.
npm view @playwright/cli@<version> dependencies.playwright-core prints the alpha of a release.
Match a regression to upstream commits with
git -C $PLAYWRIGHT_DIR log <good gitHead>..<bad gitHead> -- packages/playwright-core/src/tools.
PRs from third parties
Do not run a PR in this repo that changes package.json, package-lock.json, scripts/,
.github/, .azure-pipelines/ or .claude/. For a PR in microsoft/playwright, the list in
$PLAYWRIGHT_DIR/.claude/skills/playwright-triage/SKILL.md applies.
Trending
Less talk lately.about the whole repository
Who's talking about microsoft/playwright-cli
- Chase AI“Claude Code + Playwright = INSANE Browser Automations”YouTube · Mar 6, 2026 · 160k views
- Playwright“Playwright CLI vs MCP - a new tool for your coding agent”YouTube · Feb 6, 2026 · 117k views
- IndyDevDan“My 4-Layer Claude Code Playwright CLI Skill (Agentic Browser Automation)”YouTube · Feb 16, 2026 · 32k views
- Playwright“Giving UI Reviews to Coding Agents - Playwright CLI”YouTube · Apr 29, 2026 · 29k views
- Better Stack“Playwright CLI vs MCP Server: Which is Actually BETTER for Claude Code?”YouTube · Feb 17, 2026 · 23k views
The biggest 5 of 85 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 85
Talked about on GitHub, YouTube, Bluesky, Hacker News and the web (85 times).
On GitHub · 50
- Jan 7, 2021[Feature] Record network requests and save them as ready-to-use mocks — microsoft/playwright53 reactions · 30 comments
- Jul 20, 2020Use rod to create a project to record browser events — go-rod/rod5 reactions · 5 comments
- Jan 28, 2026chore(deps): bump the dev-dependencies group across 1 directory with 8 updates — moshehbenavraham/Voice-Agent-PuPuPlatter3 reactions · 3 comments
- Sep 26, 2026IPI-1335 · E2E-PLAYWRIGHT-003 — Align Playwright CLI 0.1.21 and add attach debugging — amoai-tech/ipixai2 reactions · 11 comments
- Jul 1, 2026Proposal: Official esa Agent Skills — esaio/esa-mcp-server2 reactions · 4 comments
45 more on GitHub
- Mar 7, 2026Bump @playwright/test from 1.50.1 to 1.58.2 in /js — code-review-benchmark/keycloak__keycloak__entelligence__PR37038__202603062 reactions · 3 comments
- Mar 7, 2026Bump @playwright/test from 1.48.0 to 1.58.2 — code-review-benchmark/keycloak__keycloak__entelligence__PR33832__202603062 reactions · 3 comments
- Mar 7, 2026Bump @playwright/test from 1.53.2 to 1.58.2 in /js — code-review-benchmark/keycloak__keycloak__entelligence__PR40940__202603062 reactions · 3 comments
- Mar 7, 2026Bump @playwright/test from 1.51.1 to 1.58.2 in /js — code-review-benchmark/keycloak__keycloak__entelligence__PR38446__202603062 reactions · 3 comments
- Mar 7, 2026Bump @playwright/test from 1.50.1 to 1.58.2 in /js — code-review-benchmark/keycloak__keycloak__entelligence__PR36880__202603062 reactions · 3 comments
- Mar 7, 2026Bump @playwright/test from 1.50.1 to 1.58.2 in /js — code-review-benchmark/keycloak__keycloak__entelligence__PR37634__202603062 reactions · 3 comments
- Mar 7, 2026Bump @playwright/test from 1.50.1 to 1.58.2 in /js — code-review-benchmark/keycloak__keycloak__entelligence__PR37429__202603062 reactions · 3 comments
- Mar 6, 2026Bump @playwright/test from 1.47.1 to 1.58.2 — code-review-benchmark/keycloak__keycloak__entelligence__PR32918__202603062 reactions · 3 comments
- Mar 6, 2026Bump @playwright/test from 1.54.1 to 1.58.2 in /js — code-review-benchmark/keycloak__keycloak-greptile__entelligence__PR1__202603062 reactions · 3 comments
- Feb 21, 2026chore(deps): bump playwright and @playwright/test in /frontend — Chronos-llc/chronos-AI-agent-builder-studio2 reactions · 1 comment
- Feb 19, 2026Bump the npm_and_yarn group across 8 directories with 20 updates — VpkDevs/dyadia2 reactions · 2 comments
- Feb 16, 2026chore(deps): bump @playwright/test from 1.56.1 to 1.58.2 — CloudToLocalLLM-online/CloudToLocalLLM2 reactions · 2 comments
- Feb 13, 2026Bump @playwright/test from 1.57.0 to 1.58.2 — Kilo-Org/kilocode2 reactions · 3 comments
- Feb 9, 2026Bump @playwright/test from 1.50.0 to 1.58.2 in /js — code-review-benchmark/keycloak__keycloak__kg__PR36882__202602022 reactions · 2 comments
- Feb 9, 2026Bump @playwright/test from 1.51.1 to 1.58.2 in /js — code-review-benchmark/keycloak__keycloak__kg__PR38446__202602022 reactions · 2 comments
- Feb 9, 2026Bump @playwright/test from 1.50.1 to 1.58.2 in /js — code-review-benchmark/keycloak__keycloak__kg__PR36880__202602022 reactions · 2 comments
- Feb 9, 2026Bump @playwright/test from 1.50.1 to 1.58.2 in /js — code-review-benchmark/keycloak__keycloak__kg__PR37429__202602022 reactions · 2 comments
- Feb 2, 2026chore(deps): bump the minor-and-patch group with 19 updates — gmickel/gno2 reactions · 2 comments
- Jan 30, 2026Bump the npm_and_yarn group across 4 directories with 11 updates — GlacierEQ/wordpress-develop2 reactions · 5 comments
- Jan 29, 2026Bump the npm_and_yarn group across 1 directory with 8 updates — GlacierEQ/mcp-server-browserbase2 reactions · 3 comments
- Jan 29, 2026Bump the npm_and_yarn group across 2 directories with 14 updates — GlacierEQ/cursor2 reactions · 4 comments
- Jan 27, 2026chore(mcp): support --extesnsion in cli — microsoft/playwright2 reactions · 4 comments
- Jan 26, 2026chore(deps)(deps-dev): bump @playwright/test from 1.57.0 to 1.58.0 in /hvac-design-app in the development-dependencies group — engryamato/HVAC_Canvas_App2 reactions · 3 comments
- Jan 26, 2026deps(deps): bump the security-updates group with 12 updates — koushik369mondal/WanderLust2 reactions · 2 comments
- Jan 26, 2026deps(deps-dev): Bump @playwright/test from 1.57.0 to 1.58.0 in the testing group — NeXify-Chat-it-Automate-it/OpenCarBoxsays it tested it2 reactions · 3 comments
- Jan 26, 2026chore(deps-dev): bump the dev-dependencies group with 9 updates — chaterm/Chaterm2 reactions · 2 comments
- Oct 11, 2026[ca] [aw] Update agentic CLI versions and scanner image pins — github/gh-aw1 reaction · 1 comment
- Sep 30, 2026[ca] CLI/Docker version checker: pin updates detected on 2026-09-30 — github/gh-aw1 reaction
- Sep 16, 2026[ca] CLI version checker: detected upstream updates for CLI defaults and scanner images — github/gh-aw1 reaction · 2 comments
- Aug 9, 2026[ca] CLI version check: Playwright CLI 0.1.17 → 0.1.18 (2026-08-09) — github/gh-aw1 reaction · 1 comment
- Aug 7, 2026[ca] CLI version update: Claude Code, Codex, Playwright MCP, Pi (2026-08-07) — github/gh-aw1 reaction · 1 comment
- Aug 6, 2026[ca] CLI/Docker version check: Claude Code, Codex, and Playwright MCP updates (2026-08-06) — github/gh-aw1 reaction · 2 comments
- Jul 23, 2026Plugin plan — charlyautomatiza/playwright-plugin1 reaction
- Jul 7, 2026fix(cli): don't crash the response when navigating closes the last tab — microsoft/playwright1 reaction · 1 comment
- Jun 8, 2026[Regression] playwright install chrome fails — microsoft/playwright1 reaction · 2 comments
- Mar 23, 2026Bump the npm_and_yarn group across 5 directories with 16 updates — abrahem79/brand1 reaction · 1 comment
- Mar 21, 2026Bump the npm_and_yarn group across 5 directories with 16 updates — abrahem79/brand1 reaction · 1 comment
- Mar 20, 2026Bump the npm_and_yarn group across 5 directories with 17 updates — abrahem79/brand1 reaction · 1 comment
- Mar 13, 2026deps: bump playwright and @playwright/test — ahump20/arcjet-example-nextjs1 reaction · 2 comments
- Mar 7, 2026Implement SKILL file and install --skills command — kylehgc/cypress-cli1 reaction
- Mar 7, 2026Feasibility audit: Cypress capability matrix vs playwright-cli commands — kylehgc/cypress-cli1 reaction
- Mar 4, 2026Compare with agent-browser — pinchtab/pinchtab1 reaction · 2 comments
- Feb 23, 2026chore(cli): tell skill how to install — microsoft/playwright1 reaction · 2 comments
- Feb 10, 2026Replace playwright mcp with playwright cli? — microsoft/aspire1 reaction · 1 comment
- Feb 9, 2026fix(cli): -b reference in skills — microsoft/playwright1 reaction
On YouTube · 24
- Mar 6, 2026Claude Code + Playwright = INSANE Browser Automations — Chase AI160k views · 82 comments
- Feb 6, 2026Playwright CLI vs MCP - a new tool for your coding agent — Playwright117k views · 102 comments
- Feb 16, 2026My 4-Layer Claude Code Playwright CLI Skill (Agentic Browser Automation) — IndyDevDan32k views · 53 comments
- Apr 29, 2026Giving UI Reviews to Coding Agents - Playwright CLI — Playwright29k views · 11 comments
- Feb 17, 2026Playwright CLI vs MCP Server: Which is Actually BETTER for Claude Code? — Better Stack23k views · 22 comments
19 more on YouTube
- Aug 17, 2026Playwright CLI + OpenCode Just Changed Browser Automation Forever — Brandon Melville21k views · 17 comments
- Feb 9, 2026playwright-cli demo — The Modern Web Architect18k views · 12 comments
- Apr 8, 2026Playwright CLI Tutorial: Token Efficient Browser Automation With Antigravity — QA Thoughts2.8k views
- Mar 1, 2026Playwright MCP vs CLI + SKILLS Explained | Which AI Browser Tool Should You Use? — Viplove QA - SDET2k views · 7 comments
- Mar 8, 20263. Playwright MCP vs CLI in VS Code + GitHub Copilot — Test Automation with Atul Sharma1.5k views · 8 comments
- Feb 23, 2026Playwright CLI vs Playwright MCP🔥 Token Usage Explained ! Real architectural difference !#mcpserver — SDET Sanjay1.5k views · 4 comments
- Feb 10, 2026Playwright MCP vs CLI: Which AI Testing Tool DESTROYS Your Token Budget? — QA Routinesays it tested it1.2k views
- Feb 28, 2026Save 95% Tokens Using Playwright-CLI + Claude Instead of Playwright MCP | ARIA Snapshot Explained — QA Automation Alchemistsays it tested it976 views · 1 comment
- Oct 25, 2026Playwright CLI vs MCP: Which One Saves More Tokens? — Jagadeesh Jayachandran567 views · 7 comments
- Apr 2, 2026Playwright + AI using GitHub Copilot — dtomyn_tech509 views
- Apr 29, 2026Playwright MCP Turns Claude Desktop Into a Browser Agent — Build n Bloom503 views
- Jun 20, 2026Stop Wasting Tokens! Why Every QA Engineer Needs Playwright CLI — JKC Tutorials 433 views · 17 comments
- Jul 15, 2026Playwright CLI: Browser Tests Without MCP Overhead — VibeDev373 views
- May 13, 2026How Automates Browser Usage: Claude Extension VS Playwright CLI — Vadym | AI Agentic Hub344 views
- Feb 14, 2026Microsoft Playwright-CLI Review: Efficient Browser Control for AI — Blueprint Bytes211 views
- Apr 8, 2026Playwright CLI + Copilot: Generate Automated Tests with AI (Step-by-Step) in Less than 5 minutes! — ZekeTests145 views
- Oct 23, 2026Give Claude Code a Real Browser (Playwright CLI) — AI Dev Minute36 views
- Oct 11, 2026Make Claude Code Show the Evidence Before You Launch — AI Mathias | AI Automation28 views
- Jan 30, 2026microsoft/playwright-cli - Gource visualisation — Gourcer27 views
On Bluesky · 7
- Jan 31, 2026I'm a huge fan of Playwright MCP or Chrome Dev Tools MCP but I just came across Playwright CLI this morning and something tells me using… — @techwatching.bsky.social3 likes and reposts · 1 reply
- Jul 26, 2026some skills that document how to use github.com/microsoft/pl... to do the thing are imo still better, giving the llm the open ended… — @jauntywunderkind.bsky.social2 likes and reposts · 1 reply
- Jun 9, 2026📦 microsoft / playwright-cli ⭐ 11,182 (+42) 🗒 TypeScript CLI for common Playwright actions. Record and generate Playwright code, inspect… — @github-trending-js.bsky.social2 likes and reposts
- Feb 28, 2026Have you tried the new playwright agent skill library? github.com/microsoft/pl... — @riziles.bsky.social2 likes and reposts
- Apr 11, 2026📦 microsoft / playwright-cli ⭐ 7,224 (+62) 🗒 TypeScript CLI for common Playwright actions. Record and generate Playwright code, inspect… — @github-trending-js.bsky.social1 likes and repost
2 more on Bluesky
- Feb 15, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / playwright-cli ⭐ 3,547 (+206) 🗒 TypeScript CLI for common Playwright actions. Record… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Feb 5, 2026playwright cli from microsoft - browser automation for coding agents without the mcp overhead #dailytools — @maheu.co1 likes and repost
On Hacker News · 3
- Sep 18, 2020Playwright CLI – Open/inspect/emulate pages, generate screenshots, record users134 points · 21 comments
- Feb 7, 2026CLI for Common Playwright Actions3 points
- Feb 19, 2026Tell HN: OpenCode/Claude Code and Playwright CLI is great for front end dev1 point · 1 comment
On the web · 1
- Oct 5, 2026Playwright CLI - Browse /v0.1.19 at SourceForge.net — sourceforge.net
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 5
- microsoft/playwright★ 99k19% same
- microsoft/playwright-mcp★ 39k73% same
- microsoft/playwright-python★ 15k20% same
- microsoft/playwright-dotnet★ 3k21% same
- microsoft/playwright-java★ 1.6k16% same
Wrote their own version · 1
- xeroc/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- devSkill
- playwright-cliSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

