Skip to content

Instantly share code, notes, and snippets.

@webarthur
Created March 23, 2017 14:14
Show Gist options
  • Save webarthur/47d120f9f4803a75e23a17e16d49518a to your computer and use it in GitHub Desktop.
Save webarthur/47d120f9f4803a75e23a17e16d49518a to your computer and use it in GitHub Desktop.
// 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