Playwright · Concept
Trace viewer
Playwright Trace Viewer helps you inspect a recorded test after it runs. It shows actions, page state, source code, screenshots, logs, and network activity, which is useful for debugging failures.
Last updated
Syntax
npx playwright test --trace on
npx playwright show-trace trace.zip
https://trace.playwright.dev/?trace=<trace-url>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
HTML reportUI ModeBrowserContext.Tracing APIActionsScreenshotsSnapshotsSourceCall