I have a component that uses the old WebBrowser control. The problem is that i use it to automate a process accessing a thirdy party page. The problem is that now i need to get a image, and this image is loaded by an extra GET request that i dont have control.
For example, i make a:
webBrowser.Navigate("example.com");
And on the DocumentCompleted
event i do some stuff. But when this event is fired, i see on fiddler that the browser make to extra GETs
one to load a token and other to load a PNG. I need to get these two responses on the DocumentCompleted
event. The image are like this on the html:
<div id="container" data-url="exmple2Images.app"></div>
Ps: I cannot make another request by myself to exmple2Images.app
because it refreshs the session and some cookies that are important.
Thanks.