Solved

Browser screen capture

Posted on 2011-03-03
3
394 Views
Last Modified: 2013-12-17
I need to capture the web page produced by a given browser.  I'll then apply baseline against current imagery to validate content and layout.  I need to screen capture web pages in C# using IE6, IE7, IE8, and Firefox.  I was thinking that ActiveX is the best way to accomplish this.  What do you think?  
0
Comment
Question by:Phil5780
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
Amick earned 500 total points
ID: 35032524
Are you attempting to capture an image of the rendering to do a pixel by pixel comparison or the underlying code and files returned for the various browsers to check for changes?  Tools already exist to do both, but it is important to know what you're trying to do.
0
 

Author Comment

by:Phil5780
ID: 35032530
Yes, I'm trying to do a pixel for pixel comparison using each underlying browser.  I'm looking to integrate this feature into Selenium.
0
 
LVL 12

Expert Comment

by:Amick
ID: 35032598
Then it seems C# is not a bad choice.

There is a java app called scrender available on SourceForge that takes screenshots using "the system default browser", and I suppose you could either manipulate the registry to cycle through browsers or modify the Java source to use the browsers you prefer.

There are several other capture programs available on SourceForge including CutyCapt for webkit and IECapt for IE. The source code for these is also available so you may find ideas from studying the three programs mentioned.

http://scrender.sourceforge.net/index.html
http://cutycapt.sourceforge.net/
http://iecapt.sourceforge.net/
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now