Question: In the WCF application that I am working on, I need to access the generated source of a particular webpage (after all the AJAX calls on the page are made).

I have tried using `System.Net.WebRequest` but it just brings me back the original source of the page. Is there a way to execute a page and then get the source?

Else, is there a way to execute Javascript from within a WCF service? I could use the javascript and JSON response to create the HTML page from within my webservice then!

Answer: 
You could use Javascript to traverse and pass the DOM than make a call into your WCF service from the Javascript when all the Ajax calls are complete. If you are after the data that is stored on the page after all the Ajax calls I would re-think your implementation...

Petar
@Petar: Thanks for your input. Yes, I am after that data that will be stored in the page after the Ajax calls. And, somehow the third party vendor will not give me that data via some JSON calls which I could directly call from my own WCF service.