I need to get ht开发者_运维百科ml code of a web site using c# (web browser or webrequest) but I have a problem for html code created by javascript.
actually I need View Generated Source of Web Developer plugin (its plugin of firefox)
how can i do it?
edit1: I found a solution using javascript:'' + window.document.body.outerHTML+ '' but it's not working in IE9
in google chrome you can view the source by click right on item and inspect element command fire fox and ie9 has such functionality in another way,In Ie by pressing F12 you can use developer tools and view sources
FireBug is a great plugin for Firefox that allows you to browse the DOM, including HTML generated dynamically by javascript.
精彩评论