Full stack web developer, interested in all the things, but especially the web, code, design, Linux, OS X, PHP, WordPress, JavaScript & robots.

Create WebPage Screenshots with Node.js and PhantomJS image/svg+xml

Automation on the web has gotten incredibly accessible and advanced, much in part to utilities like PhantomJS. PhatomJS allows you to do headless testing, network monitoring, page automation, and much more. One of the simple tasks I like using PhatomJS for is screenshot creation. Sure I could use another service or another utility but PhantomJS is so flexible and easy to use that there’s no need to look elsewhere!

I can attest to the flexibility of PhantomJS, I’ve used it in the past for all manner of jobs. I once used it to create thousands of different coloured product images for a large e-commerce site, which saved someone from a very long and laborious job. Anyhow, this post covers the basics, which should be enough to get you started.

Leave a comment

Your email address will not be published. Required fields are marked *