How to take a full webpage screenshot from a linux server


To setup a software to take full webpage screenshot from the server running on runlevel 3 (Command Line)

**Prerequisites Installation**

apt-get install subversion svn libqt4-webkit libqt4-dev g++ gcc xvfb


yum install subversion svn libqt4-webkit libqt4-dev g++ gcc gcc-c++ xvfb qt4-devel

On CentOS 5, if you get any error, Do the following,

Add this to /etc/yum.repos.d/CentOS-Base.repo #ATrpms [atrpms] name= CentOS-$releasever – ATrpms baseurl=$releasever-$basearch/atrpms/testing gpgcheck=1 gpgkey= enabled=1 rpm –import yum install subversion gcc-c++ qt44* qt44-devel*


cd /opt svn checkout cutycapt cd /opt/cutycapt qmake make

**SymLink to Binary Path**

ln -s /opt/cutycapt/CutyCapt /usr/local/bin/cutycapt


**Take Screen shot from the command line**

cd ~ xvfb-run –server-args=”-screen 0, 1024x768x24″ cutycapt  –url= –

The screen shot will be available in your home directory as file name

Any Questions…. Please comment ![:)](

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
Scroll to Top