Trace Mode Limitations
What Trace Mode deliberately skips, plus the known gaps across adapters.
What trace mode skips
- DevTools UI window — no Chrome instance opens for the dashboard.
- Backend port-bind — no localhost port is reserved (parity across all three adapters as of v1.2+).
screencast.enabled— the live-mode continuous.webmrecording is ignored in trace mode (a warning is logged). Trace mode instead records a densefilmstripinto the archive by default (setfilmstrip: falsefor one frame per action), plus per-testvideoslices when enabled. The screencast tuning fields (quality,maxWidth,pollIntervalMs, …) still apply to whichever recorder runs.wdio-trace-<sessionId>.jsondump — removed entirely. The legacy monolithic JSON the WDIO live mode used to write is gone; live mode now streams to the dashboard and writes nothing to disk, and thetrace.zipis the single trace artifact.
Known limitations
- Nightwatch BDD
describe/it—traceGranularity: 'test'collapses to a single session-scoped slice: Nightwatch runs the individualits internally without a per-test hook the plugin can see, so the slice keys to the first test. Metadata capture (per-testcase state in the manifest) is unaffected, but per-ittrace/screenshot/video keying and retry-aware retention degrade to session scope for this interface. Nightwatch's exports-object and Cucumber interfaces expose per-scenario/per-test hooks and get real per-test slicing. (WebdriverIO mocha/cucumber and Selenium mocha are unaffected.) - Nightwatch retry-aware retention — only
retain-on-failureworks; other retry-aware policies degrade because Nightwatch re-runs a testcase internally on--retrieswithout re-firing the per-test hooks. See Retention. - Nightwatch Allure attach — per-test
screenshot/videoare produce-only (files + manifest), not attached inline; see Allure integration. - Non-Chrome video/filmstrip — on browsers without a CDP push path the recorder polls
takeScreenshot, which adds WebDriver round-trips and (under Allure) floods the step log; pair with the reporter's step-silencing options.