Search Content


Content Categories



Automated Screenshots from Command Line

Learn how to capture automated screenshots of multiple web pages from the command line in one go using the rendering engine of Internet Explorer, Safari or Google Chrome.

If you like to capture screenshots of multiple web pages in one go, the regular screen capture utilities (like SnagIt) can do the job but they require way too much effort.

You’ll have to open each site manually, then wait for the web page to load and finally hit the print screen key. Now imagine repeating this process for 10 different websites every morning. Impossible, right?

What you really need here is a command line screen capture utility like CutyCapt or IECapt – both are similar in execution but differ slightly in the way they render web pages because the former use WebKit engine (same as Google Chrome or Safari) while the latter will save screenshots as if you are viewing the page in Internet Explorer.

command line screenshots
Screen Capture Web Pages from Command Prompt

Now to capture a screenshot of Google homepage from DOS, you write a simple like this:

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

You have complete control over the output image format and the page dimensions.

To screen capture multiple web pages, you can write a simple DOS batch file and then configure it run at regular intervals using Windows Task Scheduler. The trick may used to create a time lapse video of web pages as this Techmeme video.

CutyCapt offers some extra options like you can turn off JavaScript and browser plug-ins so web pages may render a little faster.


Related Custom Application Development Articles

Salesforce.com Silicon Valley City Tour


I had a chance to participate on a panel at the salesforce.com city tour in Santa Clara last week. I would say there were roughly 500 people in the audience, and it was fun for me to present as a salesforce customer. I was on the panel with Doug...

Read more about Salesforce.com Silicon Valley City Tour...

Aurora: Writing the Script


Writing the script for Aurora turned out to be a tricky balancing act. We wanted to illustrate the interesting design solutions we had come up with, but we also had to provide enough context to make the solutions meaningful. We needed the movie to...

Read more about Aurora: Writing the Script...