Solved

Browser screen capture

Posted on 2011-03-03
3
383 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
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 +…

911 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

21 Experts available now in Live!

Get 1:1 Help Now