🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@wdio/local-runner

Package Overview
Dependencies
Maintainers
3
Versions
695
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/local-runner

A WebdriverIO runner to run tests locally

latest
Source
npmnpm
Version
9.20.0
Version published
Weekly downloads
776K
-2.37%
Maintainers
3
Weekly downloads
 
Created
Source

WebdriverIO Local Runner

A WebdriverIO runner to run tests locally within worker processes

The Local Runner initiates your framework (e.g. Mocha, Jasmine or Cucumber) within worker a process and runs all your test files within your Node.js environment. Every test file is being run in a separate worker process per capability allowing for maximum concurrency. Every worker process uses a single browser instance and therefore runs its own browser session allowing for maximum isolation.

Given every test is run in its own isolated process, it is not possible to share data across test files. There are two ways to work around this:

If nothing else is defined in the wdio.conf.js the Local Runner is the default runner in WebdriverIO.

Install

To use the Local Runner you can install it via:

npm install --save-dev @wdio/local-runner

Setup

The Local Runner is the default runner in WebdriverIO so there is no need to define it within your wdio.conf.js. If you want to explicitly set it, you can define it as follows:

// wdio.conf.js
export const {
    // ...
    runner: 'local',
    // ...
}

For more information on WebdriverIO runner, check out the documentation.

Keywords

webdriver

FAQs

Package last updated on 27 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts