# Null Driver Service

> wdio-null-driver-service is a 3rd party package, for more information please see [GitHub](https://github.com/ccharnkij/wdio-null-driver-service) | [npm](https://www.npmjs.com/package/wdio-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[​](#installation "Direct link to 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-dev
```

Instructions on how to install `WebdriverIO` can be found [here](https://webdriver.io/docs/gettingstarted).

## Configuration[​](#configuration "Direct link to Configuration")

To use the null driver service, add `null-driver` to your service array:

```
// wdio.conf.js
export const config = {
    // ...
    services: ['null-driver'],
    // ...
};
```

## Options[​](#options "Direct link to Options")

### `port`[​](#port "Direct link to port")

Port to bind the server.

Type: `Number`

Default: `4444`
