# wdio-selenium-standalone-service

> WebdriverIO service to start & stop Selenium Standalone

Latest version **0.0.12** (published 2018-12-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install wdio-selenium-standalone-service
pnpm add wdio-selenium-standalone-service
yarn add wdio-selenium-standalone-service
bun add wdio-selenium-standalone-service
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.12 |
| Published | 2018-12-11 |
| First published | 2016-03-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 18.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 54 |
| Maintainers | christian-bromann |
| Keywords | webdriverio, wdio, wdio-service, selenium, standalone, server, tests |

## Links

- npm: https://www.npmjs.com/package/wdio-selenium-standalone-service
- Repository: https://github.com/webdriverio/wdio-selenium-standalone-service
- Homepage: https://github.com/webdriverio/wdio-selenium-standalone-service#readme
- Issues: https://github.com/webdriverio/wdio-selenium-standalone-service/issues
- npm.io page: https://npm.io/package/wdio-selenium-standalone-service

## Dependencies (2)

- [fs-extra](https://npm.io/package/fs-extra.md) ^0.30.0
- [selenium-standalone](https://npm.io/package/selenium-standalone.md) ^6.15.4

## Alternatives

- [@snazzah/davey](https://npm.io/package/@snazzah/davey.md) — 1.5M weekly downloads
- [@vendure/testing](https://npm.io/package/@vendure/testing.md) — 8.3K weekly downloads
- [vue-simple-context-menu](https://npm.io/package/vue-simple-context-menu.md) — 6.6K weekly downloads
- [cypress-webpack-preprocessor-v5](https://npm.io/package/cypress-webpack-preprocessor-v5.md) — 2.1K weekly downloads
- [@backstage/plugin-catalog-backend-module-puppetdb](https://npm.io/package/@backstage/plugin-catalog-backend-module-puppetdb.md) — 1.3K weekly downloads

## Recent versions

- 0.0.12 (latest) — 2018-12-11
- 5.0.0-beta.3 (next) — 2018-09-28
- 5.0.0-beta.0 (beta) — 2018-08-24
- 5.0.0-alpha.14 (alpha) — 2018-08-08
- 0.0.11 — 2018-11-16
- 5.0.0-beta.2 — 2018-09-07
- 5.0.0-beta.1 — 2018-08-30
- 5.0.0-alpha.13 — 2018-07-20
- 0.0.10 — 2018-03-12
- 0.0.9 — 2017-06-12
- 0.0.8 — 2017-02-05
- 0.0.7 — 2016-09-28
- 0.0.6 — 2016-08-23
- 0.0.5 — 2016-06-08
- 0.0.4 — 2016-05-27
- … 3 more at https://npm.io/package/wdio-selenium-standalone-service/versions

## README

WDIO Selenium Standalone Service [![Code Climate](https://codeclimate.com/github/webdriverio/wdio-selenium-standalone-service/badges/gpa.svg)](https://codeclimate.com/github/webdriverio/wdio-selenium-standalone-service) [![Build Status](https://travis-ci.org/webdriverio/wdio-selenium-standalone-service.svg?branch=master)](https://travis-ci.org/webdriverio/wdio-selenium-standalone-service)
================================

Handling the Selenium server is out of scope of the actual WebdriverIO project. This service helps you to run Selenium seamlessly when running tests with the [WDIO testrunner](http://webdriver.io/guide/testrunner/gettingstarted.html). It uses the well know [selenium-standalone](https://www.npmjs.com/package/selenium-standalone) NPM package that automatically setups the standalone server and all required driver for you.

## Installation

The easiest way is to keep `wdio-selenium-standalone-service` as a devDependency in your `package.json`.

```json
{
  "devDependencies": {
    "wdio-selenium-standalone-service": "~0.0.12"
  }
}
```

You can simple do it by:

```bash
npm install wdio-selenium-standalone-service --save-dev
```

Instructions on how to install `WebdriverIO` can be found [here.](http://webdriver.io/guide/getstarted/install.html)

## Configuration

By default, Google Chrome, Firefox and PhantomJS are available when installed on the host system. In order to use the service you need to add `selenium-standalone` to your service array:

```js
// wdio.conf.js
export.config = {
  // ...
  services: ['selenium-standalone'],
  // ...
};
```

## Options

### seleniumLogs
Path where all logs from the Selenium server should be stored.

Type: `String`

### seleniumArgs
Map of arguments for the Selenium server, passed directly to `Selenium.start()`.

Type: `Object`

Default: `{}`

Example:
```js
seleniumArgs: {
  seleniumArgs: ["-port", "4441"],
  javaArgs: [
    "-Xmx1024m"
  ]
},
```

### seleniumInstallArgs
Map of arguments for the Selenium server, passed directly to `Selenium.install()`.

Type: `Object`

Default: `{}`

### skipSeleniumInstall
Boolean for skipping `selenium-standalone` server install.

Type: `Boolean`

Default: `false`

----

For more information on WebdriverIO see the [homepage](http://webdriver.io).

---
_Source: https://npm.io/package/wdio-selenium-standalone-service · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
