C# WebBrowser control — Get Document Elements After AJAX?

后端 未结 7 706
[愿得一人]
[愿得一人] 2020-11-27 14:01

I\'m writing an application that uses the WebBrowser control to view web content that can change with AJAX that adds new content/elements. I can\'t seem to get at the new el

相关标签:
7条回答
  • 2020-11-27 14:47

    You will need to use DOM for it. Cast WebBrowser.Document.DomDocument to IHTMLDocument?. You will have to import some COM interfaces or Microsoft.mshtml assembly.

    Have a look to http://msdn.microsoft.com/en-us/library/aa752641(VS.85).aspx for more details.

    0 讨论(0)
提交回复
热议问题