Google-chrome – Capture large webpage screenshot in Chrome

google-chromegoogle-chrome-extensionsscreenshotwebpage

The webpage is very large (a few MB). I tried these extensions and they all fail:

  • Screen Capture (by Google) – I get a new tab with no image in it
  • Pixlr Grabber – I get a "500" request error after pressing save
  • Capture Webpage Screenshot – Fireshot – telling me that the webpage is too big and it will be saved to RAM, after which I get an error: Insufficient video memory: You need at least -2365 MB of RAM (that's ridiculous, and I have I like 1 GB)
  • Webpage & WebCam Screenshot – I get no image
  • Awesome Screenshot – Capture & Annotate – It says capturing..., and when finishes it open a new tab with some buttons. When I press "done" it says preparing your image... forever.

Do you know any website screen capture tools that actually work?

Best Answer

I ended up using PhantomJS in windows, I used...

screenshot.js

var page = require('webpage').create();

page.open('http://gigantic-web-page.com', function () {
    page.render('test.png');
    phantom.exit();
});

Dump this in your phantomjs folder, then one more file, screenshot.cmd

phantomjs --ignore-ssl-errors=yes --cookies-file=cookies.txt --web-security=no screenshot.js

With both of these files in your phantomjs folder, run screenshot.cmd... I just generated a 40mb png file of a gigantic page, it took a while and churned away but it finally output it!