gozer
gozer is a phantomJS wrapper. It can do normal phantomJS stuff, using promises:
var Gozer = ; // Load an instance pointed at http://localhost:3000var gozer = port: 3000; // Get a pagevar page = gozer; // Do some stuff with the pagepage ;
but that's not why we built it. We built gozer to test our CSS, so it really shines when it's used in a test framework. Here's an example using mocha and chai-as-promised:
var Gozer = ; ;
For more examples, check out gozer's own tests.
Installation and Setup
Gozer is meant to be used as a node module, so it's as simple as
npm install gozer