cloudnet-compose/result/tests/render.js

16 lines
295 B
JavaScript
Raw Permalink Normal View History

2016-06-16 04:14:55 +02:00
var system = require('system');
var page = require('webpage').create();
var url = system.args[1];
page.onLoadFinished = function() {
setTimeout(function(){
console.log(page.content);
phantom.exit();
}, 1000);
};
page.open(url, function() {
page.evaluate(function() {
});
});