[TriLUG] Full web page capture?

Brian Cottingham spiffytech at gmail.com
Wed Apr 30 11:40:16 EDT 2014


You could use PhantomJS, which is basically a Webkit engine you can run
from the command line. Here's a script I wrote for it that screenshots a
web page:

http://pastebin.com/xzYSBH6G

Save this to a configuration file:

{
>     "url": "http://google.com",
>     "imgfile": "./out.png",
>     "htmlfile": "./out.html",
>     "cookies": []
> }
>
>
and run it like this:

> ./phantomjs/bin/phantomjs --ignore-ssl-errors=true
> ./phantomjs/screenshot.js ./phantomjs/in.json
>


On Wed, Apr 30, 2014 at 11:24 AM, Robert Dale <robdale at gmail.com> wrote:

> I've only tried Chrome with 3 different extensions and none seem to
> support full page capture (to image) on chrome/linux.  Firefox is
> having some javascript issue when using the Google Charts
> visualization that I don't feel like debugging.
>
> Tried and failed on Chrome:
> Awesome screenshot: capture
> Webpage screenshot
> Screen Capture (Google's)
>
> Any suggestions?
>
> Thanks.
>
> --
> Robert Dale
> --
> This message was sent to: spiffytech <spiffytech at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  :
> http://www.trilug.org/mailman/options/trilug/spiffytech%40gmail.com
> Welcome to TriLUG: http://trilug.org/welcome
>


More information about the TriLUG mailing list