Is there an easy way to get rendered HTML from IE 11? I can not use WebBrowser control because my web application needs to install ActiveX control prior to loading Javascript generated HTML - which is not possible with WebBrowser control.

Thanks in advance :) Harit

有帮助吗?

解决方案

Im using internet explorer 9 but the process should be the same or very similar for ie 11:

  • Navigate to the webpage
  • Press F12 to launch developer tools (Also available from the tools menu)
  • Right click the opening HTML tag
  • Select copy outerHTML

You should now have all the dynamic HTML in your clipboard to paste where you like

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top