Chuyển đến nội dung chính

Getting Started

WebdriverIO DevTools gives your end-to-end browser tests a developer-tools UI for running, debugging, and inspecting automation — DOM replay, per-command screenshots, network and console capture, and session screencasts. It runs in two modes. Live mode opens an interactive dashboard in a browser window while your tests execute, so you can watch and rerun them in real time. Trace mode skips the UI and writes a portable, offline trace artifact (trace.zip) you can open later in the show-trace player — ideal for CI. This page gets you into live mode fast; trace mode is one option away.

Install & first run

Pick your adapter, install it, and add the minimal wiring below. Run your tests as usual — the DevTools dashboard opens automatically in a new browser window.

Install the service:

npm install @wdio/devtools-service --save-dev

Add it to your test-runner config:

// wdio.conf.ts
export const config = {
services: ['devtools'],
}

Run your WebdriverIO tests as normal — the DevTools UI opens automatically and tests begin visualizing immediately.

Next steps

Welcome! How can I help?

WebdriverIO AI Copilot