← All notes

Playwright Trace Viewer opens a recorded trace.zip after a run

Answer: Playwright Trace Viewer is a GUI for exploring a recorded trace after the script has run. Open a saved trace.zip with the Playwright CLI or at trace.playwright.dev. The viewer loads the trace in the browser and does not transmit that data externally.

Open a trace

npx playwright show-trace path/to/trace.zip opens a local file. You can open remote traces directly using its URL, for example npx playwright show-trace https://example.com/trace.zip.

The Tracing API

The source exports class Tracing.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Playwright docs, Trace viewer, Apache-2.0 (https://raw.githubusercontent.com/microsoft/playwright/main/LICENSE). Copyright (c) Microsoft Corporation; microsoft/playwright (GitHub), Tracing class (playwright-core client), Apache-2.0 (https://raw.githubusercontent.com/microsoft/playwright/main/LICENSE). Copyright (c) Microsoft Corporation. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Playwright docs, Trace viewer, Apache-2.0 (https://raw.githubusercontent.com/microsoft/playwright/main/LICENSE). Copyright (c) Microsoft Corporation; microsoft/playwright (GitHub), Tracing class (playwright-core client), Apache-2.0 (https://raw.githubusercontent.com/microsoft/playwright/main/LICENSE). Copyright (c) Microsoft Corporation.

Cite this

Permanent ID: iil:note:hjkwtmvk

iinventedlight. 2026. "Playwright Trace Viewer opens a recorded trace.zip after a run." iinventedlight Library, iil:note:hjkwtmvk, version of 2026-11-16. https://iinventedlight.com/library/notes/playwright-trace-viewer/. License: CC-BY-4.0.

@misc{iil_note_hjkwtmvk,
  author = {{iinventedlight}},
  title = {{Playwright Trace Viewer opens a recorded trace.zip after a run}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-16},
  url = {https://iinventedlight.com/library/notes/playwright-trace-viewer/},
  note = {Permanent ID iil:note:hjkwtmvk. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/playwright-trace-viewer.md.