Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nightwatchjs/selenium-server-jar-download

NPM install wrapper which makes available the selenium standalone server jar file in your node_modules folder.
https://github.com/nightwatchjs/selenium-server-jar-download

Last synced: about 2 months ago
JSON representation

NPM install wrapper which makes available the selenium standalone server jar file in your node_modules folder.

Awesome Lists containing this project

README

        

# selenium-server-jar-download
NPM install wrapper which makes available the selenium standalone server jar file in your node_modules folder.

[![Build Status][build-badge]][build]
[![version][version-badge]][package]

## Installing Selenium 4
This will download the jar file.

```sh
npm i @nightwatch/selenium-server
```

Install a specific version, e.g. `4.1.1`:
```sh
npm i @nightwatch/[email protected]
```

### Installing Selenium 3
This will install the last Selenium 3 standalone server, version: `3.150.0`

```sh
npm i @nightwatch/selenium-server@3
```

# Usage

```js
const SeleniumServer = require('@nightwatch/selenium-server');

// Get the path to the jar file:
console.log(SeleniumServer.path);
```

The file is downloaded in `node_modules/@nightwatch/selenium-server/lib`.

# License
MIT

[build-badge]: https://github.com/beatfactor/selenium-server-jar-download/actions/workflows/node.js.yml/badge.svg?branch=main
[build]: https://github.com/beatfactor/selenium-server-jar-download/actions/workflows/node.js.yml
[version-badge]: https://img.shields.io/npm/v/@nightwatch/selenium-server.svg?style=flat-square
[package]: https://www.npmjs.com/package/@nightwatch/selenium-server