example in Quick Start don't work fine

11 views
Skip to first unread message

asci.e...@gmail.com

unread,
Nov 2, 2016, 11:03:48 AM11/2/16
to phantomjs
 
the first example in Quick Start don't work fine:
 
var page = require('webpage').create();
page.open('http://example.com', function(status) {
  console.log("Status: " + status);
  if(status === "success") {
    page.render('example.png');
  }
  phantom.exit();
});

the result is a empty file, without the text into the site http://example.com.
thanks

asci.e...@gmail.com

unread,
Nov 3, 2016, 3:38:33 AM11/3/16
to phantomjs
I resolved:



the Centos 7 didn't have the fonts.
I hope help somebody.
Reply all
Reply to author
Forward
0 new messages