【发布时间】:2010-10-12 18:22:23
【问题描述】:
我正在编写一个应用程序,该应用程序使用 WebBrowser 控件来查看 Web 内容,这些内容可以通过添加新内容/元素的 AJAX 进行更改。 我似乎无法以任何我尝试过的方式了解新元素。 BrowserCtl.DocumentText 没有最新的页面,当然也不在“查看源代码”中。
有没有办法使用这个控件来获取这些新数据? :( 请帮忙。谢谢!
IE:
Browser.Navigate("www.somewebpagewithAJAX.com");
//Code that waits for browser to finish...
...
//WebBrowser control has loaded content and AJAX has loaded new content
// (is visible at runtime on form) but can't see them in Browser.Document.All
// or Browser.DocumentText :(
【问题讨论】:
标签: c# javascript ajax browser