I used the following code to download a page's HTML as text:
string requestUri = "some site";
string html;
using (WebClient client = new WebClient())
{
html = client.DownloadString(requestUri);
}
File.WriteAllText("C:\\html.txt", html);
However the resulting text file does not contain any of the elements that my web browser displays. I searched for any of a series of keywords but none appear in the html, while they appear in my browser and browser's "inspect element" thingy.
As far as I know the downloaded HTML should contain EVERYTHING that is displayed in the browser and more.
Why is the downloaded HTML text missing virtually everything that is displayed in the browser?