Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
DevTools | WebdriverIO
[go: Go Back, main page]

Skip to main content

DevTools

DevTools is a powerful browser-based debugging interface for visualizing, controlling, and inspecting your test executions in real-time. It works with WebdriverIO, Nightwatch.js, and Selenium WebDriver (any runner) — same backend, same UI, same capture infrastructure.

What It Provides

  • Rerun tests selectively - Click on any test case or suite to re-execute it instantly
  • 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
  • Navigate to code - Jump directly to test source files with TestLens

How It Works

  1. Start your tests as normal
  2. DevTools automatically opens a browser window at http://localhost:3000
  3. The UI shows test hierarchy, browser preview, command timeline, and logs in real-time
  4. After tests complete, click any test to rerun it individually in the same browser session

Choose Your Framework

  • WebDriverIO - Use @wdio/devtools-service with Mocha, Jasmine, or Cucumber
  • Nightwatch - Use @wdio/nightwatch-devtools with zero test code changes
  • Selenium - Use @wdio/selenium-devtools with Mocha, Jest, Cucumber, or plain Node scripts

Welcome! How can I help?

WebdriverIO AI Copilot