Created
March 23, 2017 14:14
-
-
Save webarthur/47d120f9f4803a75e23a17e16d49518a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// install | |
sudo npm install -g webdriver-manager | |
// update webdriver | |
sudo webdriver-manager update | |
// run selenium | |
webdriver-manager start --standalone | |
// copy drivers to PATH | |
cp /usr/lib/node_modules/webdriver-manager/selenium/chromedriver* ~/bin/chromedriver | |
cp /usr/lib/node_modules/webdriver-manager/selenium/geckodriver* ~/bin/geckodriver | |
// test | |
npm test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment