开发者

Get http requests in web browser

开发者 https://www.devze.com 2023-03-15 05:31 出处:网络
I am using WPF WebBrowser control. How can I detect all outgoing Http GET requests that are executed on the pages? Basically I w开发者_StackOverflowant something similar to the \"network\" tab in Chro

I am using WPF WebBrowser control. How can I detect all outgoing Http GET requests that are executed on the pages? Basically I w开发者_StackOverflowant something similar to the "network" tab in Chrome's Developer tools... is there something like "RequestBegins" event?


I doubt you can get all requests but you can get iframe src requests ( navigating event will fire on iframes and frames) To get all requests you need proxy intercepts like Mu Mind said Fiddler is great for that and it has DLL and easy API so you can embed it in your app.


Check out the Fiddler HTTP debugging proxy. It might help you to achieve your goal.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号