I'm trying to login to a site using HtmlAgilityPack (site:http://html-agility-pack.net).
Now, I can't exactly figure out how to go about this.
I've tried setting the Html form values via
m_HtmlDoc.DocumentNode.SelectSingleNode("//input[@name='EMAIL']").SetAttributeValue("value", "myemail.com");
I then submit the form with
m_HtmlWeb.Load("http://example.com/", "POST");
This isn't working though. It's not logging in or anything. Does anyone else have any other insight?
Thank you