假设在一个简单的 Windows 窗体中有一个 Webbrowser 控件指向 www.google.com。有没有办法查看网络浏览器发出的其他请求(例如,请求的图像列表、javascript 文件、css 文件和所有这些东西)?
最佳答案
尝试 fiddler2 .
什么是 Fiddler?
Fiddler is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP(S) traffic, set breakpoints, and "fiddle" with incoming or outgoing data. Fiddler includes a powerful event-based scripting subsystem, and can be extended using any .NET language.
关于C# 捕获 webbrowser 发出的 http 请求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6819646/