Skip to content

chris-allnutt/node-mocha-selenium-testing

Repository files navigation

  1. Checkout the repository

  2. install selenium web driver

    npm install selenium-webdriver

  3. Download the chrome web driver and place it in the same directory, or somewhere in your path http://chromedriver.storage.googleapis.com/index.html

    (download the proper one for your operating system, others availabe for other webbrowsers)

  4. install mocha

    npm install mocha

run with nyancat:

> node_modules/mocha/bin/mocha -R nyan test-google-search.js

run without nyancat:

> node_modules/mocha/bin/mocha test-google-search.js

About

Example using Mocha (with Node.js) and selenium to do an acceptance test for Google Search.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published