playwright-trace
Skill97k starsChanged 3 months agoApache-2.0View on GitHub
Inspect Playwright trace files from the command line — list actions, view requests, console, errors, snapshots and screenshots.
3 other projects use a version of this, 3 of them edited.
Trending
More talk lately.about the whole repository
Most recently taken up by
- JameMy0001/antigravity-skills-hubedited, first seen Oct 2, 2026
- PracticalSwan/agent-skillsedited, first seen Sep 14, 2026
- dqtx760/skills-manageedited, first seen May 27, 2026
Who's talking about microsoft/playwright
- A Hacker News story“Playwright: Automate Chromium, WebKit and Firefox”Hacker News · Jan 26, 2022 · 383 points
- nrwl/nx“Introduce Playwright as option for E2E testing”GitHub · Jul 23, 2020 · 115 reactions
- mxschmitt/playwright-go“Feedback needed for future development”GitHub · Apr 28, 2021 · 102 reactions
- oven-sh/bun“Running Playwright tests with Bun runtime and Playwright config file hangs + completes with no output or …”GitHub · Jan 17, 2024 · 52 reactions
- A Hacker News story“Microsoft Playwright: Automate Chromium, WebKit and Firefox”Hacker News · Jan 23, 2020 · 43 points
The biggest 5 of 79 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 79
Talked about on Bluesky, GitHub and Hacker News (79 times).
On Bluesky · 39
- Jun 14, 2024Playwright : un framework Open Source pour les tests web et l'automatisation. Il permet de tester Chromium, Firefox et WebKit avec une API… — @bearstech.com7 likes and reposts
- Mar 9, 2025📦 microsoft / playwright ⭐ 69,976 (+43) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.socialsays it tested it6 likes and reposts
- Jun 13, 2024📦 microsoft / playwright ⭐ 62,977 (+39) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending.bsky.socialsays it tested it6 likes and reposts
- Apr 26, 2025📦 microsoft / playwright ⭐ 72,094 (+58) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.socialsays it tested it5 likes and reposts
- Dec 7, 2024📦 microsoft / playwright ⭐ 67,466 (+34) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending.bsky.socialsays it tested it5 likes and reposts
34 more on Bluesky
- Dec 6, 2024📦 microsoft / playwright ⭐ 67,433 (+36) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social4 likes and reposts
- Mar 12, 2026Claude Code can't see your browser. But it can run Playwright. And that changes everything for testing web apps. github.com/microsoft/p... — @tommytang.bsky.social3 likes and reposts · 2 replies
- Jan 21, 2025📦 microsoft / playwright ⭐ 68,649 (+42) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social3 likes and reposts
- Jan 9, 2025📦 microsoft / playwright ⭐ 68,334 (+33) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social3 likes and reposts
- Mar 16, 2024📦 microsoft / playwright ⭐ 60,189 (+47) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social3 likes and reposts
- Jul 30, 2023Bonjour et bon dimanche ! Si vous cherchez un framework pour tester vos applications Web, voici PlayWright qui devrait probablement vous… — @ponceto91.bsky.social3 likes and reposts · 1 reply
- Apr 11, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / playwright ⭐ 86,072 (+117) 🗒 TypeScript Playwright is a framework for Web Testing and… — @github-trending-js.bsky.social2 likes and reposts
- Nov 9, 2025📦 microsoft / playwright ⭐ 79,131 (+98) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social2 likes and reposts
- Jul 12, 2025📦 microsoft / playwright ⭐ 74,697 (+47) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social2 likes and reposts
- Jun 20, 2025📦 microsoft / playwright ⭐ 73,638 (+42) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Jun 6, 2025📦 microsoft / playwright ⭐ 73,195 (+40) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social2 likes and reposts
- Aug 31, 2024📦 microsoft / playwright ⭐ 65,113 (+41) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending.bsky.social2 likes and reposts
- May 17, 2024📦 microsoft / playwright ⭐ 62,255 (+31) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social2 likes and reposts
- Jan 19, 2024📦 microsoft / playwright ⭐ 58,313 (+55) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social2 likes and reposts
- Oct 20, 2023📦 microsoft / playwright ⭐ 55,765 (+43) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social2 likes and reposts
- Oct 15, 2026📦 microsoft / playwright ⭐ 97,767 (+84) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- May 20, 2026Not using the API 😊 github.com/microsoft/pl... — @jhuntinfosec.com1 likes and repost
- Jan 9, 2026📦 microsoft / playwright ⭐ 80,967 (+39) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Oct 22, 2025📦 microsoft / playwright ⭐ 78,491 (+46) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Jul 30, 2025📦 microsoft / playwright ⭐ 75,363 (+52) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Jun 24, 2025📦 microsoft / playwright ⭐ 73,801 (+48) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Jun 24, 2025📦 microsoft / playwright ⭐ 73,775 (+48) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending.bsky.social1 likes and repost
- Jun 21, 2025mirkobozzetto starred microsoft/playwright mirkobozzetto starred microsoft/playwright · June 21, 2025 23:32 microsoft/playwright Playwright… — @firefox.activitypub.awakari.com.ap.brid.gy1 likes and repost
- Jun 11, 2025📦 microsoft / playwright ⭐ 73,377 (+47) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Oct 17, 2024📦 microsoft / playwright ⭐ 66,315 (+31) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Oct 10, 2024📦 microsoft / playwright ⭐ 66,176 (+35) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Jul 18, 2024📦 microsoft / playwright ⭐ 64,111 (+49) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Jun 13, 2024📦 microsoft / playwright ⭐ 62,977 (+39) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- May 25, 2024📦 microsoft / playwright ⭐ 62,460 (+54) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Dec 30, 2023📦 microsoft / playwright ⭐ 57,720 (+42) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Nov 23, 2023📦 microsoft / playwright ⭐ 56,785 (+33) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Oct 13, 2023📦 microsoft / playwright ⭐ 55,555 (+37) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Sep 21, 2023📦 microsoft / playwright ⭐ 55,027 (+33) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
- Jun 9, 2023📦 microsoft / playwright ⭐ 51,996 (+44) 🗒 TypeScript Playwright is a framework for Web Testing and Automation. It allows testing… — @github-trending-js.bsky.social1 likes and repost
On GitHub · 31
- Jul 23, 2020Introduce Playwright as option for E2E testing — nrwl/nxsays it tested it115 reactions · 18 comments
- Apr 28, 2021Feedback needed for future development — mxschmitt/playwright-go102 reactions · 38 comments
- Jan 17, 2024Running Playwright tests with Bun runtime and Playwright config file hangs + completes with no output or segfault — oven-sh/bun52 reactions · 45 comments
- Jun 14, 2022[Feature] Custom timeout for assertions — microsoft/playwright-python41 reactions · 2 comments
- Mar 17, 2021[Info] Beta versions available for the new `puppeteer-extra` & `playwright-extra` — berstend/puppeteer-extra39 reactions · 35 comments
26 more on GitHub
- Sep 10, 2023Running Playwright does not work as expected — oven-sh/bun36 reactions · 4 comments
- Jul 17, 2021feat(allure-playwright): initial implementation for allure-playwright — allure-framework/allure-js31 reactions · 17 comments
- Apr 7, 2023browser.close() just hangs — Sparticuz/chromium28 reactions · 34 comments
- Feb 26, 2020Moving from Puppeteer to Playwright — stenciljs/core27 reactions · 9 comments
- Dec 2, 2022NPM: Playwright does not work — denoland/deno26 reactions · 47 comments
- Sep 14, 2022[Feature] Add Retries — microsoft/playwright-dotnet24 reactions · 23 comments
- Oct 1, 2025Feature Request: Support Allowed Origins & Blocked Origins list options — ChromeDevTools/chrome-devtools-mcp23 reactions · 11 comments
- Aug 24, 2022a way to import from a module without including its globals — microsoft/TypeScript23 reactions · 2 comments
- Jan 23, 2020Support for Playwright? — argos-ci/jest-puppeteer23 reactions · 4 comments
- Jan 22, 2020Support for Playwright library — berstend/puppeteer-extra23 reactions · 16 comments
- Oct 6, 2025fix(browser): allow service workers to mock the network in chromium without breaking vi.mock — vitest-dev/vitest10 reactions · 4 comments
- Feb 23, 2024Add support for Angular 17 — sand4rt/playwright10 reactions · 9 comments
- Aug 3, 2026Update @playwright/test to fix installation stuck — NousResearch/hermes-agent9 reactions · 12 comments
- Nov 24, 2024Playwright 1.50.1 — NixOS/nixpkgs7 reactions · 14 comments
- May 18, 2024feature(trace-viewer): embedded mode support PoC — microsoft/playwright-vscode6 reactions · 5 comments
- Jan 11, 2021Allow using BrowserContext in Lambda — alixaxel/chrome-aws-lambda6 reactions
- Dec 6, 2025Update Claude Code to 2.0.60, Playwright MCP to 0.0.50, add --disable-slash-commands — github/gh-aw5 reactions · 11 comments
- Mar 6, 2022feat: set custom userAgent — garris/BackstopJS5 reactions
- Sep 20, 2026SAN-1341: make critical Playwright journeys deterministic and production-safe — amoai-tech/mdeai4 reactions · 18 comments
- Sep 13, 2026Make Playwright E2E faster, clearer, and independent from live AI outages — amoai-tech/ipixai4 reactions · 6 comments
- Jan 31, 2026Update CLI tool versions: Claude Code 2.1.27, Copilot 0.0.400, Playwright MCP 0.0.62, MCP Gateway v0.0.86 — github/gh-aw4 reactions · 11 comments
- Jan 24, 2026Update CLI tool versions (Jan 24, 2026) — github/gh-aw4 reactions · 8 comments
- Dec 11, 2025Update CLI Versions: Copilot 0.0.369, Codex 0.71.0, Playwright MCP 0.0.52 — github/gh-aw4 reactions · 9 comments
- Dec 9, 2025Update Claude Code 2.0.62, Codex 0.66.0, Playwright MCP 0.0.51 — github/gh-aw4 reactions · 10 comments
- Jul 2, 2024feat(playwright): reuse existing server — nuxt/test-utils4 reactions · 4 comments
- Feb 15, 2026Update Playwright MCP from 0.0.64 to 0.0.68 — github/gh-aw0 reactions · 10 comments
On Hacker News · 9
- Jan 26, 2022Playwright: Automate Chromium, WebKit and Firefox383 points · 140 comments
- Jan 23, 2020Microsoft Playwright: Automate Chromium, WebKit and Firefox43 points · 3 comments
- Jan 22, 2020microsoft/playwright – Node Library to Automate Chromium, Firefox and WebKit9 points
- Jan 23, 2020Playwright: Puppeteer for Chrome, Firefox, and Safari5 points
- Sep 12, 2020Release v1.4.0 · Microsoft/Playwright4 points
4 more on Hacker News
- Jan 22, 2020Playwright – Node Library to Automate Chromium, Firefox and WebKit4 points
- May 31, 2024Playwright – A Framework for Web Testing and Automation1 point
- Jun 12, 2023Playwright as a Chromium Extension1 point
- Mar 20, 2023BDD implementation with Playwright test runner1 point
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- PracticalSwan/agent-skills★ 1846% same
- dqtx760/skills-manage★ 297% same
- JameMy0001/antigravity-skills-hub★ 186% same
Wrote their own version · 0
None found.
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 repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- playwright-cherry-pickSkill
- playwright-devopsSkill
- playwright-devSkill
- playwright-test-resultsSkill
- playwright-triageSkill
- playwright-cliSkill
- playwright-component-testingSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 0 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Start with trace open <trace.zip> to extract the trace and see its metadata.
- Very specific: line 14
Use trace actions to see all actions with their action IDs.
- Very specific: line 15
Use trace action <action-id> to drill into a specific action — see parameters, logs, source location, and available snapshots.
- Very specific: line 16
Use trace requests, trace console, or trace errors for cross-cutting views.
- Very specific: line 17
Use trace snapshot <action-id> to get the DOM snapshot, or run a browser command against it.
- Very specific: line 18
Use trace close to remove the extracted trace data when done.
- Very specific: line 20
All commands after open operate on the currently opened trace — no need to pass the trace file again.
- Very specific: line 135
Only three browser commands are useful on a frozen snapshot: snapshot, eval, and screenshot.
“Common” is measured: kept by at least 6 in 10 of the 3 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 Trace CLI
Inspect .zip trace files produced by Playwright tests without opening a browser.
Workflow
- Start with
trace open <trace.zip>to extract the trace and see its metadata. - Use
trace actionsto see all actions with their action IDs. - Use
trace action <action-id>to drill into a specific action — see parameters, logs, source location, and available snapshots. - Use
trace requests,trace console, ortrace errorsfor cross-cutting views. - Use
trace snapshot <action-id>to get the DOM snapshot, or run a browser command against it. - Use
trace closeto remove the extracted trace data when done.
All commands after open operate on the currently opened trace — no need to pass the trace file again. Opening a new trace replaces the previous one.
Commands
Open a trace
# Extract trace and show metadata: browser, viewport, duration, action/error counts
npx playwright trace open <trace.zip>Close a trace
# Remove extracted trace data
npx playwright trace closeActions
# List all actions as a tree with action IDs and timing
npx playwright trace actions
# Filter by action title (regex, case-insensitive)
npx playwright trace actions --grep "click"
# Only failed actions
npx playwright trace actions --errors-onlyAction details
# Show full details for one action: params, result, logs, source, snapshots
npx playwright trace action <action-id>The action command displays available snapshot phases (before, action, after) and the exact command to extract them.
Requests
# All network requests: start time (on the `trace actions` clock), method, status, URL, duration, size
npx playwright trace requests
# Filter by URL pattern
npx playwright trace requests --grep "api"
# Filter by HTTP method
npx playwright trace requests --method POST
# Only failed requests (status >= 400)
npx playwright trace requests --failedRequest details
# Show full details for one request: headers, body, security
npx playwright trace request <request-id>Console
# All console messages and stdout/stderr
npx playwright trace console
# Only errors
npx playwright trace console --errors-only
# Only browser console (no stdout/stderr)
npx playwright trace console --browser
# Only stdout/stderr (no browser console)
npx playwright trace console --stdio
# Filter by message text pattern
npx playwright trace console --grep "failed to fetch"Errors
# All errors with stack traces and associated actions
npx playwright trace errorsSnapshots
The snapshot command loads the DOM snapshot for an action into a headless browser and runs a single browser command against it. Without a browser command, it returns the accessibility snapshot.
# Get the accessibility snapshot (default)
npx playwright trace snapshot <action-id>
# Use a specific phase
npx playwright trace snapshot <action-id> --phase before
# Run eval to query the DOM
npx playwright trace snapshot <action-id> -- eval "document.title"
npx playwright trace snapshot <action-id> -- eval "document.querySelector('#error').textContent"
# Eval on a specific element ref (from the snapshot)
npx playwright trace snapshot <action-id> -- eval "el => el.getAttribute('data-testid')" e5
# Take a screenshot of the snapshot
npx playwright trace snapshot <action-id> -- screenshot
# Redirect output to a file
npx playwright trace snapshot <action-id> -- eval "document.body.outerHTML" --filename=page.html
npx playwright trace snapshot <action-id> -- screenshot --filename=screenshot.pngOnly three browser commands are useful on a frozen snapshot: snapshot, eval, and screenshot.
Attachments
# List all trace attachments
npx playwright trace attachments
# Extract an attachment by its number
npx playwright trace attachment 1
npx playwright trace attachment 1 -o out.pngTypical investigation
# 1. Open the trace and see what's inside
npx playwright trace open test-results/my-test/trace.zip
# 2. What actions ran?
npx playwright trace actions
# 3. Which action failed?
npx playwright trace actions --errors-only
# 4. What went wrong?
npx playwright trace action 12
# 5. What did the page look like at that moment?
npx playwright trace snapshot 12
# 6. Query the DOM for more detail
npx playwright trace snapshot 12 -- eval "document.querySelector('.error-message').textContent"
# 7. Any relevant network failures?
npx playwright trace requests --failed
# 8. Any console errors?
npx playwright trace console --errors-onlyDoes 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.

