Summary

Capturing screenshots is a very nifty feature of PhantomJS, and we can make a lot of useful applications with it. There are several services using this to provide the users with the capability to create varieties of screenshots of their page on different sizes; some also provide the facility of viewing and capturing pages in different hues or possible color blindness combinations. We can do a lot more using this feature, and we can actually integrate this feature using location-based services, about which we are going to learn more in the next chapter.

Get Getting Started with PhantomJS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.