12

I have used shutter and screenshot applications for a long time for taking screenshots.But they can only take screenshots as big as the physical screen.

Sometimes I have to take an screenshot of an whole webpage,because the page can't be saved properly by the browser or I want to include pop-up's as well.This situation requires a software that can take a screenshot longer than the physical screen.

Is there any software to do this?

Note that this question and it's answers are about webpage saving apps.They won't save pop-up's, which is essential in my case.I don't want a converter.I need an literal screenshot app or anything that could save the pop-up's as well.

And I use Mozilla Firefox, because it has really nice plugins.The solution should be working fot Firefox itself.

5
  • 1
    possible duplicate of How can I take a screenshot of a whole web page?
    – landroni
    Feb 17, 2014 at 8:51
  • @landroni They won't save pop-up's, which is essential in my case.Thanks. Feb 17, 2014 at 9:05
  • I don't know what you mean by pop-up, but does the answers given here help?
    – Aditya
    Feb 17, 2014 at 15:40
  • @Aditya I don't know what thing that is, but it looks like something similar to pop-up's.but it doesn't move. It is not saved as well. the specific link is this. Feb 18, 2014 at 5:25
  • @Aditya no they don't work.shutter fails.the other does nothing. Feb 18, 2014 at 5:30

6 Answers 6

18

On recent versions of Firefox, there is no need for any plugins. This capability is built into the browser.

New Method with the Mouse

Very simple: right click anywhere on the page that is not otherwise active, and select “Take Screenshot”. The popup which appears will allow you to select a region of the visible page, or the complete webpage.

Console Method

  1. In Firefox, use Ctrl+Shift+F2 to open the Web Developer Console. (The exact key combination may depend on your settings.)
  2. Type :screenshot --fullpage (this will autocomplete, so :s Tab --fullpage will work).

That will save the screenshot as a PNG file to your downloads folder. By default, the filename includes the date and time. You can use a different filename if you wish, simply by passing it in on the CLI: :screenshot --fullpage my_name.png.

This will also work on pop-up windows, but each window will need to be saved individually. I know of no way to combine them into a single screenshot. (You could, of course, do that in GIMP or another image-editing tool later.)

7
  • Perfect! I hadn't expected an answer after such a long time. Thanks. Feb 26, 2015 at 19:02
  • Thanks for your answer. It helped me, but with little change about the 'Shortcut'. I am using the 'Firefox 36.0.4' and 'Shift+F2' was for 'Developer Console'. For the 'Browser Console', shortcut was 'Ctrl + Shift + J'. Just in case if it helps someone!! Aug 4, 2015 at 13:21
  • That may have been a plugin altering default behaviour, @VinodTigadi. I'm not sure.
    – TRiG
    Aug 4, 2015 at 13:37
  • Ya, Probably. Because, I checked at 4-5 Ubuntu machines at my work place. All of them had the shortcut 'Ctrl + Shift + J'. Anyways, thanks for your quick reply :-) Aug 4, 2015 at 14:27
  • Ctrl+Shift+J, for me, brings up a Browser Console for debugging, which is a different thing to the in-browser CLI, a simple command line for controlling the browser itself, rather than examining the page currently opened.
    – TRiG
    Aug 4, 2015 at 15:13
3

Here a list of applications that you can use from terminal:

wkhtmltopdf is a command line utility that converts html to pdf using webkit rendering engine.

sudo apt-get install wkhtmltopdf

The wkhtmltoimage utility shall take the screenshot of a given url, and save it as a png image. It uses the webkit rendering engine.

Download : http://code.google.com/p/wkhtmltopdf/downloads/list

Usage :

To use the wkthmltoimage utility simple run the command from terminal, giving the url and the name for the image file.

$ ./wkhtmltoimage-amd64 http://www.google.com google.png

It will create google.png in home directory with the screenshot of www.google.com

Other options :

wkhtmltoimage provides many options to customise the screenshot. Some examples are as follows :

Quality - Controls the quality/compression of the generation image. Default is 94

$ ./wkhtmltoimage-amd64 --quality 50 http://www.google.com google.png

Disable images

$ ./wkhtmltoimage-amd64 --no-images http://www.google.com google.png

Disable javascript

$ ./wkhtmltoimage-amd64 --disable-javascript http://www.google.com google.png

Crop the screenshot

$ ./wkhtmltoimage-amd64 --crop-h 300 --crop-w 300 --crop-x 0 --crop-y 0 http://www.google.com googl

Cutycapt is a utility to take the screenshot of a url, using the webkit rendering engine and save it to an image file.

Install

sudo apt-get install subversion libqt4-webkit libqt4-dev g++ cutycapt

Usage To use cutycapt, simply run the command from the terminal, providing the url and the name for the output file.

$ cutycapt --url=http://www.google.com/ --out=google.png

It will create google.png file in home directory which would have the screenshot of www.google.com

khtml2png uses the konqueror rendering engine to create screenshots of web pages.

Download

http://khtml2png.sourceforge.net/index.php?page=download

Install

To install khtml2png, the program has to be compiled and build on the system.

sudo apt-get install kdelibs4-dev zlib1g-dev g++ cmake
Extract the khtml2png archive.
./configure
make
sudo checkinstall (this will create a deb file and install it , so that it can easily uninstalled later)

Usage To use khtml2png run the program from commandline providing the url and other options.

$ khtml2png2 --width 800 --height 600 http://www.google.com/ google.png

This would create a google.png in home directory with the screenshot of www.google.com.

Pywebshot uses python bindings embedded mozilla ( http://www.mozilla.org/unix/gtk-embedding.html )

Install

sudo apt-get install python-gtkmozembed

Download pywebshot from https://github.com/coderholic/PyWebShot

Usage :

$ python pywebshot.py www.google.com -t 1024x768&lt;br /&gt;<br />Loading www.google.com... saved as www.google.com.png

It should create a www.google.com.png in the directory which has the screenshot of size 1024 x 768.

2
  • please check the commands.are they specific for amd64 system? I use i386 system. Feb 18, 2014 at 5:22
  • No they are not specific for amd64. give them a try
    – Maythux
    Feb 18, 2014 at 5:23
2

I tried Awsome Screenshot: Screen Capture Annotate - A Chrome Plugin. It worked pretty well for me. Captured the Pop-Ups(jQuery Based)[Not the Alerts], Full Page Capture and worked with HTTPS too!! Great tool.

1
  • Works great for Chrome!
    – Taylor R
    Dec 17, 2020 at 23:19
2

For anyone who came here looking for a CLI option: There is no need for any other tool, latest version of both chrome and firefox have inbuilt abilities.

Chrome

/path/to/chrome --headless --screenshot="img.png" "www.stackoverflow.com"

FireFox

/path/to/firefox -screenshot img.png www.stackoverflow.com

That's it.

1
  • If you get Open multiple tabs is only supported when remote debugging is enabled. make sure you actually typed the = after --screenshot Mar 1, 2022 at 16:56
1

On firefox you can use a addon called Awsome Screenshot Capture plus

1
  • Oh I did not see that you needed the pop-up window, I don't know whether it can do that.
    – Wouter
    Feb 17, 2014 at 9:07
0

If you're on Chrome, you can use Screen Capture extension which supports full page screenshots. Note that it may sometimes not work with HTTPS enabled pages.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .