Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

selenium-server

eugeneware128.3kBSD-3-Clause3.141.59

Selenium in an npm package

bdd, tdd, selenium, server, standalone, testing

readme

Intro

Node wrapper for Selenium

Install

npm install -g selenium-server

Use

selenium &

Using via node

The package exports a path string that contains the path to the selenium server binary/executable.

Below is an example of using this package via node.

var seleniumServer = require('selenium-server');
var binPath = seleniumServer.path;
console.log(binPath);
...