https://github.com/SeleniumHQ/selenium/tree/master/javascript/node/selenium-webdriver
- Download from and extract binary https://github.com/mozilla/geckodriver/releases/ http://chromedriver.storage.googleapis.com/index.html
!!!! 2.33 is the latest https://sites.google.com/a/chromium.org/chromedriver/downloads
- Copy to destination
Linux:
- sudo cp ~/Downloads/firefox-driver/geckodriver /usr/local/bin/
- sudo cp ~/Downloads/chrome-driver/chromedriver /usr/local/bin/
- sudo chmod 775 /usr/local/bin/chromedriver
- sudo chmod 775 /usr/local/bin/geckodriver
// wait function http://xpinjection.com/articles/waits-and-timeouts-in-webdriver/ https://selenium2.ru/docs/webdriver-advanced-usage.html
https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver https://github.com/SeleniumHQ/selenium/wiki/FirefoxDriver
https://simpleprogrammer.com/2014/02/03/selenium-with-node-js/
https://stackoverflow.com/questions/27796203/how-to-set-a-driver-path-of-firefoxdriver-in-selenium
https://github.com/nightwatchjs/nightwatch/wiki/Chrome-Setup
// test by chim https://stackoverflow.com/questions/39025994/running-chrome-in-no-sandbox-mode-using-chimp-js
// UI Testing with Nightwatch.js, Headless Chrome, and Docker: Part 1 https://medium.com/@kenfehling/ui-testing-with-nightwatch-js-headless-chrome-and-docker-part-1-f0ce2e8a23a1
// Running Selenium WebDriver tests using Firefox headless mode on Ubuntu https://medium.com/@griggheo/running-selenium-webdriver-tests-using-firefox-headless-mode-on-ubuntu-d32500bb6af2