phantomjs-screenshots icon indicating copy to clipboard operation
phantomjs-screenshots copied to clipboard

Problems with google.com

Open Shuro opened this issue 12 years ago • 4 comments

Hi there, i tried the screener-script on my server with the pre-compiled phantomjs binary, that works for some sites, but with "http://www.google.com" their is no generated image? Also no noticed error, maybe a bug?

Greetings, Shuro

Shuro avatar Jan 22 '13 13:01 Shuro

could you please tell me your phantomjs version?

hggh avatar Feb 25 '13 10:02 hggh

phantomjs 1.8.1, same problems with the self-build variant. Same problem on http://screener.brachium-system.net/ (using "google.com" as domain). Also noticed problems on various sites which are using redirects.

Shuro avatar Feb 25 '13 12:02 Shuro

@Shuro what OS are you using?

I've tried the following script using the pre-compiled phantomjs 1.8.1 binary on Mountain Lion and Ubuntu 12.04.2 and had no problems.

var page = require('webpage').create();
page.open('http://google.com', function () {
    page.render('google.png');
    phantom.exit();
});

knorrium avatar Feb 25 '13 16:02 knorrium

Compiled on Debian Squeeze, should notice that sometimes it's working, but most times it stop without an error-notice.

Shuro avatar Feb 26 '13 08:02 Shuro