Skip to content


Subversion checkout URL

You can clone with
Download ZIP
png screenshots of webpages
Branch: pywebkitgtk
Pull request Compare This branch is 7 commits ahead, 48 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


webkit2png is a command line tool that creates png screenshots of webpages. For more details, visit

This branch includes experimental linux support:

. The script auto-detects what environment it's running in, so it works on linux and the mac.

. You need pywebkitgtk installed - you can get this from or the python-webkit package in Ubuntu and Debian testing/unstable.

. You'll need an x window server. If you're working on a machine with no real screen attached try Xvfb. Something like the following should work if you've installed the Debian or Ubuntu xvfb package:
$ xvfb-run -s "-screen 0 1024x768x24" python ./webkit2png

. There is no error handling, nor is the --delay parameter supported. This has been barely tested, expect it to break.
Something went wrong with that request. Please try again.