Skip to content

browser.traceView

  • Type: boolean
  • CLI: --browser.traceView
  • Default: false

Enable trace-view collection for browser tests. Vitest captures DOM snapshots for browser interactions and can show them in the browser UI, Vitest UI, or HTML reporter when those surfaces are enabled — no external tools required.

See Trace View for full documentation.