What is it?

Have you ever wanted to take a screenshot of a website? And of one that doesn’t fit on the screen completely? That’s a lot of work, isn’t it?


WebShot is the solution. It is a simple command-line tool to make a full screenshot of a website. It accepts an URL and outputs the rendered version as a JPEG, PNG or TIFF image file.

How do I use it?

Download and unzip the file. After unzipping, copy ‘WebShot’ to a suitable location, like /usr/local/bin. You can use it using the terminal application, found in the ‘Utilities’ folder in ‘Applications’. Just typing ‘WebShot’ gives a short explanation:

Usage: WebShot  
Options:
-t  - timeout in seconds
-w  - suggested width of the output image
-h  - suggested height of the output image
-d  - after completion, wait  seconds, to allow plug-ins to initialize
-o  - name of output file
             - outfile.<jpg|jpeg> : output is a jpeg file
             - outfile.png : output is a png file
             - outfile.jpg2000 : output is a jpeg 2000 file
             - outfile.<tif|tiff> : output is a tiff file
             - outfile.bmp : output is a bmp file
             - outfile.pdf : output is a pdf file
-v - verbose output

So, if you would want to make a JPEG screenshot of the website slashdot.org, just type the following:

WebShot -v -o slashdot.jpg http://www.slashdot.org
License

WebShot is licensed under a BSD-style license. This means it’s free to use and distribute.

Downloads
Revision history

Version 0.2:

  • Added PDF output support
  • Added suggested output height support (useful for e.g. google maps)
  • Added delay-after-completion support (useful to prevent white screenshots with e.g. youtube)
Older versions