Manage Your Browser Drivers with NodeJS WebDriver Manager

Manage Your Browser Drivers with NodeJS WebDriver Manager

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.....


要查看或添加评论,请登录

Kushan Shalindra Amarasiri的更多文章

社区洞察

其他会员也浏览了