Answer the question
In order to leave comments, you need to log in
Why isn't phantom.js loading the page?
Hello. Such a problem.
There is a server on ubuntu 14.04
Installed phantom.js Hello.js
script
console.log('Loading a web page');
var page = require('webpage').create();
var url = 'http://www.phantomjs.org/';
page.open(url, function (status) {
//Page is loaded!
page.render('/home/user/phantomjs.png');
phantom.exit();
});
Answer the question
In order to leave comments, you need to log in
remove www from the address... they have some jamb with the site with www, it resets by timeout)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question