How to Install selenium-webdriver NPM Packages on Ubuntu / Debian

How to Install selenium-webdriver software package in NPM Packages

selenium-webdriver : The official WebDriver JavaScript bindings from the Selenium project. You can installing selenium-webdriver npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install selenium-webdriver
$ sudo npm install -g selenium-webdriver

If want to update the selenium-webdriver package execute the command as below,

$ sudo npm update selenium-webdriver

Update package globally,

$ npm install -g selenium-webdriver

Git clone:

$ sudo  git clone https://github.com/rektide/selenium-webdriver.git
$ sudo  npm install -g ./selenium-webdriver

selenium-webdriver@3.6.0 /usr/lib/node_modules/selenium-webdriver

How to remove selenium-webdriver package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall selenium-webdriver

Basic Information of selenium-webdriver NPM Package:

Package Name selenium-webdriver
Version 3.6.0
Description The official WebDriver JavaScript bindings from the Selenium project
Released Date 2017-10-06T00:16:01.013Z
Published by jmleyba
How to Learn https://www.npmjs.com/package/selenium-webdriver/tutorial