Automated website testing with CasperJS
Setting the System Path for CasperJS on Windows
We've been doing a lot of testing with the fantastic CasperJS library lately and have needed to work with this on both Mac and Windows platforms. This article takes you through installation and configuration on a Windows platform (predominantly XP, believe it or not, with some pointers on managing the same on Windows 7.)
Resolving CasperJS installation issues with PhantomJS not able to be found
If you've tried running a test script from the command line and experienced the following error with CasperJS:
Fatal: [Errno 2] No such file or directory; did you install phantomjs?
Then here's how to go about fixing this on a Mac system.