selenium-pack

0.3.7-3.14.0 • Public • Published

Selenium Pack

NPM Package to install-and-run selenium standalone server.

Prerequisites

  • Java Runtime

Installation

$ sudo npm install selenium-pack -g

Current Release

v0.3.7 is here!

Versioning

X.Y.Z-A.B.C

X.Y.Z - Selenium pack version

A.B.C - Selenium standalone server version

e.g. 0.0.1-2.46.0 contains selenium server version 2.46.0

Usage

Start/Run the selenium server:

$ selenium start

Stop the running selenium server:

$ selenium stop

To show the version of the included selenium standalone server

$ selenium version

Print the path of the selenium standalone server jar

$ selenium path

Running Inside your Code

var selenium-pack = require('selenium-pack');

// Starts the selenium server
selenium-pack.init.start();

// Stops the running server
selenium-pack.init.stop();

Passing arguments

Use a config file (selenium.conf.json) to pass arguments to selenium standalone server.

Selenium pack searches for selenium.conf.json in the following precedence:

  1. Current working directory
  2. Inside a folder named "config" in the current working directory

selenium.conf.json uses JSON Format and must pass a JSON Validator

Sample selenium.conf.json format:

{
  "port": 8080,
  "timeout": 120
}

NPM Versions

Selenium Server v2.53.1

  • 0.3.6-2.53.1

Selenium Server v2.53.0

  • 0.3.4-2.53.0

Selenium Server v2.48.2

  • 0.3.4-2.48.2
  • 0.3.3-2.48.2
  • 0.3.2-2.48.2

Selenium Server v2.47.1

  • 0.3.1-2.47.1
  • 0.3.0-2.47.1
  • 0.2.0-2.47.1

Selenium Server v2.46.0

  • 0.3.0-2.46.0
  • 0.2.0-2.46.0
  • 0.1.0-2.46.0

Tested Running in

  • OS X Mavericks (10.9) & Yosemite (10.10.5)
  • Raspbian GNU/Linux 7 (Wheezy)
  • Amazon Linux 2014.09.x
  • Windows 8.1

Change Log

Please see CHANGELOG.md

Package Sidebar

Install

npm i selenium-pack

Weekly Downloads

2

Version

0.3.7-3.14.0

License

MIT

Unpacked Size

23.3 MB

Total Files

14

Last publish

Collaborators

  • donandrez