A simple example of a Selenium + Javascript + Chrome Webdriver test. To run it you'll need the following:
- Installed NodeJS and npm - https://nodejs.org/en/
- Install the project
npm install
- Latest version of the Chrome webdriver. You can get the latest version from here - https://sites.google.com/a/chromium.org/chromedriver/downloads
- Make sure you've added the location of the drivers to your system
PATH
- Make sure you've added the location of the drivers to your system
References: