I'm new to phantomjs and I'm testing with version 2.5.0-development. I used the script screen.js it works well with http://phantomjs.org and https://google.com but does not work with https://globo.com and https://uol.com.br I can not understand what I do wrong no error appears.
screen.js
var page = require('webpage').create(); page.open('https://www.globo.com', function() { page.render('globo.png'); phantom.exit(); }); Edit: I tried the old version 2.1.1 and it worked. The problem seems to be the version.