Google-Apps
Hauptmenü

Post a Comment On: the urban canuk, eh

"Screen Capture for Invisible Windows"

2 Comments -

1 – 2 of 2
Blogger alexsaves said...

Hey did you make any progress with this? I am trying to do exactly the same thing. Thanks! alexei.white(at)gmail.com

5:07 PM

Blogger bryan said...

Hey Alex,

I can't remember where I left on this, as this was one of those Wouldn't-it-be-cool-if rants I tend to go on. Around the time of this post, I found two really useful posts on CodeProject:

- Capture Entire Web Page
- Image Capture Whole Page using C#

Both links take a similar approach: they drive the WebBrowser programatically. By using the WebBrowser object you should be also be able to tap into the Browser's events, which would solve the onload issue. Interestingly enough, Selenium exposes a method in their API to capture screen shots -- useful if you want to create a snapshot when an automated web-test fails.

Regarding invisible windows, I'm not so sure that either of these approaches would work; most of the comments on the CodeProject articles refer to missing portions of active windows, etc. Though I haven't confirmed this.

Another approach would be to build an application that crawls your web site as a background service. The service would run under a different user account and may be able to interact with it's own shell/profile.

I haven't got too much time these days, but if you're interested in collaborating on something, please let me know.

9:44 PM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.
Please prove you're not a robot