This file contains 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
/*global require:false,console:false,phantom:false */ | |
/*jshint maxstatements:13,maxcomplexity:3 */ | |
var system = require('system'); | |
var page = require('webpage').create(); | |
page.onConsoleMessage = function(msg) { | |
console.log(msg); | |
}; | |
if (system.args.length != 2) { | |
console.log('Usage: phantomjs phantomjs-test-runner.js URL'); |
This file contains 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
AU: "Australia" | |
NZ: "New Zealand" | |
AF: "Afghanistan" | |
AL: "Albania" | |
DZ: "Algeria" | |
AS: "American Samoa" | |
AD: "Andorra" | |
AO: "Angola" | |
AI: "Anguilla" | |
AQ: "Antarctica" |
NewerOlder