Download phantomjs from http://phantomjs.org/download.html unzip Add bin folder to the PATH test by typing phantomjs in the console
Download capserjs from https://github.com/casperjs/casperjs/archive/1.1.4-1.zip unzip Add bin folder to the PATH test by running the following command capserjs .js