I'm trying to write a tool that captures a brower session accurately. It  should capture links clicked on POST data headers etc. Most of this I can do with BeforeNavigate() method in the Web Browser control.

However, I also need to capture related links and downloads off to the side, meaning the images and stylesheets, scripts and whatever else gets loaded into a page. Are there events that capture the non-primary files that get loaded as shown by the Status bar? I've dug around in the WebBrowser Control interfaces but it doesn't look like there are events for this sort of thing.

What I'm looking for is something like the Browser Capture in Microsoft Web Application Stress Tool (WAST) or VS.NET's Application Center Test (ACT)... I need to have people browse through a Web app and capture all links. Using the browser is by far the easiest way to do this <g>.

I can get the secondary links by parsing the downloaded document, but it seems somewhere in IE there's gotta be something that provides these side links.

Anybody have any ideas?