When installing nightwatch-commands, a copy of selenium-server.jar and a chromedriver binary are downloaded as well. If these files already exist, perhaps we don't need to redownload every time.
Expected behaviour
To save time and bandwidth, don't download selenium-server and chromedriver binary if they already exist locally.
Actual behaviour
Download every time.
Steps to reproduce
In package.json, use a different version of nightwatch-commands
npm install
selenium-server and chromedriver are downloaded even though a local copy of the same version already exists
Summary
When installing nightwatch-commands, a copy of selenium-server.jar and a chromedriver binary are downloaded as well. If these files already exist, perhaps we don't need to redownload every time.
Expected behaviour
To save time and bandwidth, don't download selenium-server and chromedriver binary if they already exist locally.
Actual behaviour
Download every time.
Steps to reproduce
package.json
, use a different version of nightwatch-commandsnpm install