Skip to content
masterclass Buddy

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.

Subscribe
  • HTML report
  • UI Mode
  • BrowserContext.Tracing API
  • Actions
  • Screenshots
  • Snapshots
  • Source
  • Call

Source: Trace viewer | Playwright. Checked 2026-11-03.