PhantomJS is a program that gives you headless interactions with a browser. Essentially it’s a fully scriptable web browser. I’ve found it to be a valuable tool and have thus far used it four different ways.
- Automated looking at an actual browser DOM to find out plugin configuration.
- Generating screenshots of thousands of infographics that were built as HTML pages to take advantage of code already in place.
- As a part of a build tool for generating a sprite and a map based off of canvas and SVG.
There are many tools that use PhantomJS these days. Have you found any new or interesting ways to do so?