screenshot.pl - take a screenshot of a webpage
screenshot.pl [options] [url]
Options: --outfile name of output file --mozrepl connection string to Firefox
Name of the output file. The image will always be written in PNG format.
Connection information for the mozrepl instance to use.
This program will take a screenshot of the given URL (including plugins) and write it to the given file or the file screenshot.png.
screenshot.png
To install WWW::Mechanize::Firefox, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Mechanize::Firefox
CPAN shell
perl -MCPAN -e shell install WWW::Mechanize::Firefox
For more information on module installation, please visit the detailed CPAN module installation guide.