I am using WatiN tool in my asp.net web application. I want complete html content of the IE which I had launched. IE class in WatiN provides a property called "Html" this returns only the body content of the html source. What is the way to get Head tag content also along with it. Here is my source code:
IE myIE = new IE();
myIE.GoTo("http://wsspg.dequecloud.com/worldspace/wsservice/eval/checkCompliance.jsp");
myIE.TextField(Find.ByName("txtUrl")).TypeText("http://rockycode.com/blog/watin-and-xpath-support/");
myIE.Button(Find.ByValue("Generate Report")).Click();
myIE.WaitForComplete();
var myHtml = myIE.Html;
Any help would be highly appreciated. Thanks