DevTools
DevTools helps you find out why an end-to-end test fails. It shows each step's screenshot, page, network requests and console output in a live dashboard while your tests run, and keeps the same in replayable trace files for failures in CI. It works with WebdriverIO, Nightwatch.js, Selenium WebDriver (any runner) and Python Selenium, in browsers and in Appium apps.
What It Provides​
- Rerun tests selectively - Click on any test case or suite to re-execute it instantly (details)
- Preserve & Rerun (Compare) - Snapshot a failing test, rerun it, and diff the two runs side-by-side aligned by command (details)
- Debug visually - See live browser previews with automatic screenshots after each command
- Track execution - View detailed command logs with timestamps and results
- Monitor network & console - Inspect API calls and JavaScript logs (network · console)
- Navigate to code - Jump directly to test source files with TestLens (details)
- Record sessions - Continuous
.webmvideo of the browser, per session (details) - Mobile - Appium sessions (mobile browser, native and hybrid apps) in live and trace mode (details)
- Trace mode - Headless capture path producing a portable
trace.zipartifact for offline replay or agentic consumption (details)
How It Works​
- Start your tests as normal
- DevTools automatically opens a browser window at
http://localhost:3000 - The UI shows test hierarchy, browser preview, command timeline, and logs in real-time
- After tests complete, click any test to rerun it; the rerun runs in a fresh test process and streams into the same dashboard window
Choose Your Framework​
- WebdriverIO:
@wdio/devtools-servicedebugs WebdriverIO tests run with Mocha, Jasmine or Cucumber, in browsers and Appium apps. - Nightwatch:
@wdio/nightwatch-devtoolsdebugs Nightwatch.js tests, in browsers and Appium apps, with no change to your tests. - Selenium:
@wdio/selenium-devtoolsdebugs Selenium WebDriver tests in Node.js run with Mocha, Jest, Cucumber or a plain script. - Python Selenium:
selenium-devtools-pydebugs Python Selenium tests run with pytest or a plain script (see the Python tabs).
To open a trace file, run show-trace. It ships with each adapter and with @wdio/devtools-backend, the server behind the dashboard (Trace Player).
Debug a Failing Test​
Step-by-step guides for finding why a test fails, on your machine, as a flaky test, or only in CI: WebdriverIO, Selenium (Node.js and Python) and Nightwatch.