CasperJS and PhantomJS
Testing your code with unit tests is easy when you're working inside the code base and it's not too hard to jump outside if you're writing a command line tool. It's a bit different if you're creating a website -- it's just not so easy to simulate a user browsing and clicking. CasperJS offers a collection of helpful functions that make it simpler to browse through a website, fill out forms, click on links, and capture some screenshots as you're doing it. CasperJS does all of this with PhantomJS, a headless Webkit engine in the core so you know it's going to come close to emulating Chrome, Safari and an iPhone. Both are released with the MIT license.

Reproduction in whole or in part in any form or medium without express written permission of IDG Communications is prohibited. Copyright 2013 IDG Communications.
ABN 14 001 592 650. All rights reserved.

Contact Us

With over 25 years of brand awareness and credibility, Good Gear Guide (formerly PC World Australia), consistently delivers editorial excellence through award-winning content and trusted product reviews.