Install PhantomJS
- Obtain PhantomJS: https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
- Untar and normall install
- Create a Symbolic link to the executable
- Check that it works by issuing "phantomjs --version" in console
Install CasperJS
- git clone git://github.com/n1k0/casperjs.git
- Create a Symbolic link to the executable
- Check that it works by issuing "casperjs --version" in console
To start testing
casperjs test Filename