Getting started with webdriver
Remarks#
This section provides an overview of what webdriver is, and why a developer might want to use it.
It should also mention any large subjects within webdriver, and link out to the related topics. Since the Documentation for webdriver is new, you may need to create initial versions of those related topics.
Installation or Setup
Detailed instructions on getting webdriver set up or installed.
Setting up webdriver with node
NOTE: we’re only doing this for Chrome at the moment
Windows
- For Windows we need to download version 2.29 https://chromedriver.storage.googleapis.com/index.html?path=2.29/
- Once downloaded, extract the zip to a location of your choice
- Add the location of the driver to the PATH
- Make sure the latest version of JAVA is installed and up to date
- Download the latest selenium standalone server from here https://docs.seleniumhq.org/download/
- Run this:
java -jar <wherever you downloaded this file>/selenium-server-standalone-3.0.1.jar
- Alternatively use selenium standalone npm package https://www.npmjs.com/package/selenium-standalone
MAC OSX or linux
- Download the latest driver following from here https://chromedriver.storage.googleapis.com/index.html
- Copy the driver to your user folder
cp <where you downloaded the driver>/<driver file name> /usr/bin
- Download the latest selenium standalone server from here https://docs.seleniumhq.org/download/
- Run this:
java -jar <wherever you downloaded this file>/selenium-server-standalone-3.0.1.jar