Manage Your Browser Drivers with NodeJS WebDriver Manager
Kushan Shalindra Amarasiri
Director Quality Engineering at Social Catfish
When we execute protractor scripts or NightwatchJS scripts we need bring up selenium standalone server manually. The driver management is done manually in a cumbersome way, where we need to manually download browser drivers, extract and set the path in the environment variables.
All of these can be eleminated with the NodeJS based WebDriver Manager. Today in this article I will cover NodeJS Web Driver Manager.
First of all we need to install NodeJS
To install webdriver manager use the following npm command
npm install -g webdriver-manager
To update all the browser drivers please execute the following command in command prompt.
webdriver-manager update
To start your web driver manager. open a seperate command window and type the command give bellow.
webdriver-manager start
Its that simple to work with webdriver manager.....