It’s quite easy to use PhantomJS to muck around with pages, especially if you use CasperJS which provides you a bit nicer API. It’s also pretty easy to take screenshots, but there’s a few things you need to take into account if you want the results to be accurate…