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: the JavaScript adapters reserve no localhost port. The Python adapter still starts (or attaches to) the backend, because the backend builds its archive, but opens no window.
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. - Popup flows need Chrome 155 or 158+. Chrome 156 and 157 never answer a WebDriver BiDi command for a tab opened by
window.open()(crbug 571161446, fixed in 158.0.8106.0). On those two versions, outside Appium, the capture calls DevTools waits on give up after a ceiling so the test carries on: 10 s for the BiDi preload registration and the console and network subscriptions (every adapter; the session then falls back to per-document injection and the page's own console and network), and in the WebdriverIO and Selenium adapters 5 s for a collector drain or injection and 4 s for a screenshot, url or performance read. The first timeout in a session logs a warning naming the bug. While the test is on a hung popup each capture call aimed at it pays its ceiling, and the test's own commands to the popup can still hang, as they would without DevTools. Every other browser, and every Appium session, is unaffected. - WebdriverIO needs WebDriver BiDi for page capture (Chrome 114+, Firefox 130+; enabled automatically). Appium sessions skip it; set
'wdio:enforceWebDriverClassic': truethere. - Safari in live mode must stay the frontmost window: Safari delivers synthesized clicks and keys only to its frontmost window and reports success either way, so input issued while the dashboard or any other window is in front reaches nothing. The Selenium (Node.js) adapter opens its dashboard behind Safari and brings the session's window forward before each input; the WebdriverIO service, Nightwatch and Python bring Safari to the front once after the session starts (macOS, local Safari only). Do not click into other windows, including the dashboard, while a live Safari run is in progress. Trace mode opens no window and is not affected.
- Network without BiDi: on Safari and Appium sessions the Network tab comes from the page's own
fetch/XMLHttpRequestpatch and Resource Timing buffer, so loads the page did not make throughfetch/ XHR carry no headers or body, and on Safari no status. A native app session captures network only through the appium-interceptor plugin (appium:intercept: true, Android); see Native app network. See Network Logs. - Hybrid apps: only WebdriverIO follows a hybrid app into its webview, and a hybrid app's webview actions carry no per-action element data, A11y tree or settle screenshot. See Mobile Testing.
- Redaction covers what it learns or is told, not everything shown: a password typed into an
<input type="password">, credential header and cookie values, and any value listed insecretsare replaced by••••in command rows,transcript.md, the test source, console lines, request bodies and the replayed page. Screenshots and the screencast, text typed into other fields, and anything a live dashboard received before the password was typed keep what the run showed. Treat a trace archive as being as sensitive as the run that produced it; see Secret redaction. - 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. The recorder skips a tick while a command or a per-action capture holds the driver, so its polls do not queue in front of the test.