playwright-trace
Installation
SKILL.md
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
Related skills
More from microsoft/playwright
playwright-dev
Explains how to develop Playwright - add APIs, MCP tools, CLI commands, and vendor dependencies.
1.7Kplaywright-cli
Automate browser interactions, test web pages and work with Playwright tests.
438playwright-mcp-dev
Explains how to add and debug playwright MCP tools and CLI commands.
319playwright-devops
DevOps workflows for Playwright - CI failure analysis, workflow debugging, and release operations.
111playwright-api
Explains how to add playwright API methods.
85