4.20.0 • Published 1 year ago
@nightwatch/selenium-server v4.20.0
selenium-server-jar-download
NPM install wrapper which makes available the selenium standalone server jar file in your node_modules folder.
Installing Selenium 4
This will download the jar file.
npm i @nightwatch/selenium-serverInstall a specific version, e.g. 4.1.1:
npm i @nightwatch/selenium-server@4.1.1Installing Selenium 3
This will install the last Selenium 3 standalone server, version: 3.150.0
npm i @nightwatch/selenium-server@3Usage
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