I have a web page loaded into a WebBrowser object. What I want to do is access the elements on that page to input data. For example, enter username and password and submit the form.
How is this possible? Any ideas?
Could I use HTMLAgilityPack to access the elements and set their values?
Check out this documentation example: http://msdn.microsoft.com/en-us/library/system.windows.forms.htmldocument.aspx
Through the web browser control, there is a Document property of type HtmlDocument, which gives you some ability to affect the page. I personally don't know if it can do everything you want, but this would be a good starting point.
HTH.