wdio-null-driver-service
v1.0.0
Published
A WebdriverIO service that provides a null WebDriver session without launching a browser
Downloads
574
Maintainers
Readme
WebdriverIO NULL-DRIVER Service
Some complex test suites mix browser and API interactions. This service lets WebdriverIO create a lightweight null session for API-only participants, so you don't waste real browser sessions—especially when running against Selenium Grid.
Installation
The easiest way is to add wdio-null-driver-service as a devDependency in your package.json, via:
npm install wdio-null-driver-service --save-devInstructions on how to install WebdriverIO can be found here.
Configuration
To use the null driver service, add null-driver to your service array:
// wdio.conf.js
export const config = {
// ...
services: ['null-driver'],
// ...
};Options
port
Port to bind the server.
Type: Number
Default: 4444
