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
- id: C1 claim: Trace Viewer is a GUI for exploring a recorded trace. source: S1 evidence: "Playwright Trace Viewer is a GUI tool that helps you explore"
- id: C2 claim: show-trace opens a saved trace.zip file. source: S1 evidence: "npx playwright show-trace path/to/trace.zip"
- id: C3 claim: The viewer loads the trace in the browser. source: S1 evidence: "Trace Viewer loads the trace entirely in your browser"
- id: C4 claim: The Tracing class exposes start and startChunk. source: S2 evidence: "export class Tracing extends ChannelOwner"
Sources
- [S1] Trace viewer. Playwright docs. https://playwright.dev/docs/trace-viewer . License: Apache-2.0. Accessed 2026-11-16.
- [S2] Tracing class (playwright-core client). microsoft/playwright (GitHub). https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/client/tracing.ts . License: Apache-2.0. Accessed 2026-11-16.
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
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.},
}
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.