Framework
webdriverio/webdriverio avatar
webdriverio/webdriverio

WebdriverIO and the layering that puts WebDriver, WebDriver BiDi, and Appium under one Node.js API

Next-gen browser and mobile automation test framework for Node.js

9,886 stars2,722 forksTypeScriptMIT

At a glance

What is it?
WebdriverIO is a Node.js automation framework whose real shape is a set of separate packages across three automation transports, with protocol command files generated from CDDL and reporters shipped as their own npm installs. The pieces that surprise newcomers are the generated BiDi layer and the fact that reporters are separate packages.
Who is it for?
WebdriverIO earns its place when a team wants one test suite to run against several browsers locally and against named cloud services, and when mobile coverage through Appium matters more than a minimal dependency tree. It is the wrong shape if you want one file and one package, because the runner, config validation, reporters, and globals each arrive as a separate install.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 1 day ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • webdriverio/webdriverio9,886 ★ · +46
Star history
Repository2026-09-222026-11-25
webdriverio/webdriverio9.8k9.9k

46 Stars in the last 64 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Three transports sit under one test file: WebDriver, BiDi, and Appium

The framework is described as a test automation framework for e2e as well as unit and component testing in the browser, and tests can be run on WebDriver, on WebDriver BiDi, or on Appium. Underneath that choice sits a deliberate package split. The webdriver package is a Node.js bindings implementation for the W3C WebDriver and WebDriver Bidi protocols, and webdriverio is the framework built on top of it. Both live under packages/ in the same repository..

BiDi command files are generated from CDDL, so edits to them are lost

The BiDi half of the stack is not hand-written, and the repository root has an e2e directory plus build scripts that make the generation step visible. Two cleaning targets exist specifically for generated artifacts:

bash
rimraf --glob packages/wdio-protocols/src/commands
rimraf --glob infra/bidiCodegen/cddl

Generation is a script of its own, and the generate step runs it and then applies oxlint fixes:

bash
pnpm -r --filter=@wdio/bidi-codegen run generate

The consequence is that packages/wdio-protocols/src/commands and infra/bidiCodegen/cddl are build products. Cleaning them removes them on purpose, which is what the clean targets are for, so any command you add there by hand disappears at the next clean and cannot be reviewed as a durable change. If you need a WebDriver BiDi command that the generator does not produce, the fix belongs in the generator input rather than in the output directory.

The build is an ordered pipeline encoded in npm script names

WebdriverIO develops as a pnpm workspace, pinned to packageManager [email protected], with lerna.json, pnpm-workspace.yaml, and a pnpm-lock.yaml in the root. Building it is a pipeline rather than a single step, because the packages depend on each other in a specific order:

bash
run-s clean:build generate compile:all
pnpm -r --filter=@wdio/compiler run build -p @wdio/logger -p @wdio/types -p @wdio/globals -p @wdio/protocols -p @wdio/repl
pnpm -r --filter=@wdio/compiler run build -p @wdio/utils -p @wdio/reporter -p @wdio/config -p @wdio/display-server -p webdriver -p webdriverio

The first command is the build script itself, a sequence of clean, generate, and compile, and the next two are the core and main stages of compile:all, with a final stage that builds everything. What this costs a contributor is granularity. You cannot rebuild one arbitrary package and assume it will work, because compile:all:core has to produce the logger, types, globals, protocols, and repl before utils, reporter, config, display-server, webdriver, and webdriverio can be compiled, and the dependency order lives in script names rather than in a single readable list. The `ci` script runs setup, test, and test:e2e in sequence.

Options are parsed and validated by @wdio/config before a test runs

Configuration is not a plain object that the runner reads casually. The @wdio/config package is documented as a helper utility to parse and validate WebdriverIO options.. The rest of the helper layer exists for the same reason: @wdio/logger for logging across packages, @wdio/utils for utility functions used across the project, @wdio/globals for importing global variables directly, @wdio/repl for a repl interface, and @wdio/runner for running tests in arbitrary environments.

Reporters are separate installs, and the XML one is not the default

Result reporting is not bundled into the runner. Each format is its own package under packages/: @wdio/junit-reporter creates test results in XML format, @wdio/spec-reporter reports in spec style, @wdio/dot-reporter reports in dot style, @wdio/concise-reporter creates concise test reports, and @wdio/allure-reporter creates Allure Test Reports. If your CI ingests JUnit XML, you need @wdio/junit-reporter installed and selected; spec and dot output is for humans reading a terminal. Allure is a third path with its own ecosystem and its own report format. The project also asks third-party services and reporters to be added to the configuration wizard and the docs, so the set of usable reporters grows outside this repository.

@wdio/runner is the layer that makes cloud runs work, with four named vendors

The @wdio/runner package is described as a service that runs tests in arbitrary environments. The project names four cloud services it will run against: Sauce Labs, BrowserStack, TestingBot, and TestMu AI, annotated as formerly LambdaTest. That parenthetical matters more than it looks,.. The repository has an examples/cloudservices directory. What WebdriverIO supplies is the runner and the configuration surface; the credentials, the grid, and the pricing model live with the vendor.

Unit, component, and end-to-end live in one repo under three runners

The repository is a dogfooding exercise as much as a package collection. Alongside the packages/ directory there is e2e/ for end-to-end tests, tests/ containing a typings directory, @types/ for type declarations, vitest.config.ts, vitest.browser.config.ts, tsconfig.json, and a website/ directory that holds the documentation. The presence of vitest.config.ts next to an e2e directory is the concrete sign that the claim about unit and component testing in the browser is not marketing: the framework's own tests are split across runners, and the `ci` script runs setup, test, and test:e2e as separate stages. The consequence for a team evaluating this is that one framework is expected to cover three different testing modes, which is convenient for a mixed codebase and expensive if your needs are only one of them. The examples directory reinforces the breadth with appium, bidi, cloudservices, devtools, pageobject, standalone, and wdio subdirectories plus a shared wdio.conf.js, which is the closest thing to a recommended configuration shape.

Contributing means a configured devcontainer, Gitpod, or pnpm with pinned tooling

The project steers contributors toward a prebuilt environment rather than a setup guide. There is a codespace button, a .devcontainer/ directory whose devcontainer.json is described as fully configured with the software needed for this project, and a .gitpod.yml for Gitpod. Hooks are handled by a .husky/ directory, and the root carries a .nvmrc file pinning a Node.js version alongside the pnpm version pinned in package.json. That is what the repository itself offers for onboarding. To install WebdriverIO, take the individual packages from npm and follow the Developer Guide at webdriver.io/docs/gettingstarted.html. The packages you need are named individually in the repository, among them webdriverio for the framework, @wdio/cli for the testrunner command line interface, and whichever reporter you intend to parse. Commercial support and maintenance for the open-source dependencies are offered separately through a Tidelift subscription rather than as part of the framework itself.

Editorial conclusion

WebdriverIO earns its place when a team wants one test suite to run against several browsers locally and against named cloud services, and when mobile coverage through Appium matters more than a minimal dependency tree. It is the wrong shape if you want one file and one package, because the runner, config validation, reporters, and globals each arrive as a separate install. Before your first run, confirm three things: which transport your target actually supports, which reporter package your CI expects to ingest, and whether the commands your tests call exist on that transport. The last push was 2026-11-02 and versions v9.33.1 and v10.1.1 shipped on 2026-11-02, so this is an actively moving target and version pinning matters.

Frequently asked questions

what is webdriverio

WebdriverIO is a next-gen browser and mobile automation test framework for Node.js, written in TypeScript under the MIT license. It covers e2e as well as unit and component testing in the browser, and the most recent releases listed are v9.33.1 and v10.1.1 from 2026-11-02, with the last push on 2026-11-02.

what is webdriverio framework, and what does the framework layer add over the bindings?

The webdriver package is the low-level layer, a Node.js bindings implementation for the W3C WebDriver and WebDriver Bidi protocols. On top of it, webdriverio supplies the test framework, @wdio/cli supplies the testrunner command line interface, and helpers such as @wdio/config parse and validate your options while @wdio/runner runs tests in arbitrary environments.

difference between webdriver and webdriverio

The webdriver package talks the protocol, implementing bindings for W3C WebDriver and WebDriver Bidi protocols. The webdriverio package is the framework built on those bindings, adding the framework layer. Both are separate packages inside the same monorepo.

how to install webdriverio

Take the packages from npm and follow the Developer Guide at webdriver.io/docs/gettingstarted.html. The packages are named individually: webdriverio for the framework, @wdio/cli for the testrunner, plus whichever reporter you want, since reporters are separate packages such as @wdio/junit-reporter.

What is WebdriverIO used for?

It runs tests based on WebDriver, WebDriver BiDi, or Appium, works with the BDD or TDD framework you already use, and runs locally or in the cloud against Sauce Labs, BrowserStack, TestingBot, or TestMu AI. Mobile coverage arrives through Appium rather than through a separate tool.

Is WebdriverIO the same as Selenium?

The project does not present itself as Selenium or as a Selenium wrapper. It implements its own Node.js bindings for the W3C WebDriver and WebDriver Bidi protocols in its webdriver package, and adds WebDriver BiDi and Appium as alternative transports on top of that. Whether the two are interchangeable for your suite is a question about command coverage, not about branding.

Official sources

  1. License: MIT
  2. Project website
  3. README
  4. Releases
  5. webdriverio/webdriverio on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/webdriverio-webdriverio.svg)](https://hysenlabs.com/projects/webdriverio-webdriverio)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/webdriverio-webdriverio.svg)](https://hysenlabs.com/projects/webdriverio-webdriverio)

Was this useful?