0

I need to get html 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

1
  • Please edit your question, instead of adding information in comments. Moreover, you should see those changes in the DOM inspector of Firefox. Commented Jun 13, 2011 at 11:09

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

Comments

0

FireBug is a great plugin for Firefox that allows you to browse the DOM, including HTML generated dynamically by javascript.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.