Configuration Reference
All DevTools options at a glance, across the three adapters. Option names, types, and defaults are identical on every adapter; where behaviour differs, it's noted. For the full explanation of each trace option see the linked section on the Trace Mode page.
Pass options the way each adapter takes them:
- WebdriverIO —
services: [['devtools', { … }]] - Selenium —
DevTools.configure({ … }) - Nightwatch —
globals: nightwatchDevtools({ … })
Mode & live-mode options
| Option | Type / values | Default | Notes |
|---|---|---|---|
mode | 'live' | 'trace' | 'live' | 'live' opens the DevTools UI dashboard; 'trace' skips it and writes a portable artifact. The two are mutually exclusive. |
port | number | random | Port the DevTools UI / backend binds to. Live mode only. |
hostname | string | 'localhost' | Hostname the server binds to. Live mode only. |
screencast | ScreencastOptions | { enabled: false } | Continuous session video (.webm). Live mode only — for trace mode use video. See Screencast. |
devtoolsCapabilities | Capabilities | Chrome 1600×1200 | Capabilities used to open the DevTools UI window. WebdriverIO, live mode only. |