Skip to content
This repository

An example of how to utilize screw unit and selenium to automate javascript unit tests

branch: master

Selenium & Screw Unit Automated Testing

This is an example of Knewton's use of Selenium and Rspec to automatically run ScrewUnit tests.


To run this example code, you need the following:

  • a Unixy operating system (Mac, Linux)
  • Ruby
  • Rubygems
  • Either Firefox or Chrome with Webdriver


To view this example, simply:


This will:

  • Install the gem "rspec" if you don't have it
  • Install the gem "selenium-webdriver" if you don't have it
  • Clone jQuery-Shorthand if you don't have it
  • Run the project's unit tests in Firefox using Selenium

Running with Chrome

Ensure you have Chrome Webdriver. If you would rather use Chrome than Firefox:

Something went wrong with that request. Please try again.