Skip to content

Instantly share code, notes, and snippets.

@dtauer
Last active August 16, 2016 15:04
Show Gist options
  • Save dtauer/68c34d8f6880c28dd5514e38cf8f0af9 to your computer and use it in GitHub Desktop.
Save dtauer/68c34d8f6880c28dd5514e38cf8f0af9 to your computer and use it in GitHub Desktop.

##HTML, CSS & JavaScript

##Setting up Selenium Webdriver & Nodejs

###Install Node.js

###Install Chromedriver

###Install selenium-webdriver

  • Create a folder on your desktop (e.g. Scripts)
  • Open a command prompt
  • Change directories to the Scripts directory: cd Desktop\Scripts
  • Install selenium-webdriver: npm install selenium-webdriver

###Creating and running a script

  • In a text editor, create a JavaScript file (e.g. TestSearch.js) and save it in the Scripts folder
  • Add your test script to the JavaScript file
  • In the command window, run your script: node TestSearch.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment