Solved

Browser screen capture

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
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 +…

820 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