This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check for phantom | |
if ( !phantom.casperLoaded ) { | |
console.log( 'This script must be invoked using the casperjs executable' ); | |
phantom.exit( 1 ); | |
} | |
// get a Casper object. | |
// See http://casperjs.org/ | |
// Instantiate casper | |
var casper = require('casper').create({ |
NewerOlder