Screenshots, web metrics, and more

There are more components that are built on top of PhantomJS. Several of them are related to capturing and saving web page screenshots.

The capturejs command-line tool can capture screenshots. It also allows you to modify the page before saving the image. For more information and code syntax, check out the documentation at https://github.com/superbrothers/capturejs.

ChromaNope aims to capture screenshots that will help developers check their site for color blindness. ChromaNope generates different screenshots for each type of color blindness. It uses PhantomJS to capture and generate screenshots. Check out ChromaNope in action at http://chromanope.com/.

If you are interested in metrics, confess.js is something worth looking into. It will provide you with metrics, resources, timestamps, and other metadata. It will also create a waterfall-like graph of the resources, matching their request time and duration. confess.js can be downloaded from https://github.com/jamesgpearce/confess. These are just some of the components that are notable extensions of PhantomJS.

There are many projects and extensions being developed for and with PhantomJS, ranging from simple web services to screenshot capture, web testing extensions, and more. We can find out more about other PhantomJS-related tools at https://github.com/ariya/phantomjs/wiki/Related-Projects.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.254.28