website/docs/devtools/TracePlayer.md
The show-trace player opens any trace produced in Trace Mode in the WebdriverIO DevTools UI itself — a dedicated, read-only player mode for offline replay, review, and AI-agent diffing.
show-trace — the first-party playerOpen a trace in the DevTools UI:
show-trace trace-<sessionId>.zip # bin on PATH after install
npx show-trace trace-<sessionId>.zip # or via npx
pnpm show-trace trace-<sessionId>.zip # from the devtools monorepo
The show-trace bin ships with each adapter (@wdio/devtools-service, @wdio/nightwatch-devtools, @wdio/selenium-devtools), so it's available in any project that installs one — no extra dependency. It boots the same DevTools UI in a dedicated player mode and opens it in your browser:
Space play/pause, ←/→ step between actions, Home/End jump to first/last, ,/. change speed, / focus filter, ? show all shortcuts.Accepts a
.ziponly. The same shortcuts work in the live dashboard (←/→walk the command list,?shows help).
Beyond static frame stepping, the player reconstructs and cross-references the run:
value, checkbox checked, including fields cleared back to empty) to rebuild the real DOM as of the selected action's time, not just a screenshot. Points that carry no captured frame (assertions, static waits) still show the true page state.transcript.md (a human/LLM-readable summary in execution order). A one-click Copy bundles the transcript with any failing-command errors as paste-ready context for an LLM.filmstrip enabled, the timeline packs the dense frames for smooth scrubbing instead of one-frame-per-action jumps.Because the artifact uses a portable, standard trace-viewer on-disk format, the same .zip (or directory) also opens in compatible standalone trace viewers, and — sharing that format — inside an Allure report's embedded trace viewer (Allure ≥ 2.35). They render:
For LLM / agent consumption, read transcript.md directly — it's a tight Markdown rendering of the actions with selectors and values.
The trace pipeline (action-mapping, snapshot serializers, NDJSON writer, zip / directory writer) is shared across adapters via @wdio/devtools-core, so the artifact shape is identical no matter which adapter produced it — see Cross-Framework Support.