title: login to website using HTMLAgilityPack
body: <p>In the below code, I can set the value of the username and password using the HTMLAgilitypack but I cannot invoke the click event of the login button (the id in the source code of the button is "s1").</p>
  
  <p>Is there anyway for this to be done? The reason I'm not using the <code>WebBrowser</code> is because I will need the HTMLAgilityPack to retrieve data from the page without IDs in the source code.</p>
  
  <pre><code>var doc = new HtmlWeb().Load("http://MYURL.com");
  doc.DocumentNode.SelectSingleNode("name").SetAttributeValue("value", "MyUsername");
  doc.DocumentNode.SelectSingleNode("password").SetAttributeValue("value", "MyPassword");
  </code></pre>