I am trying to use c# webbrowser control to view mobile version of twitter. I have a button in my windows form which is meant to log me out of the site but i cannot get it to work.
here is the immediate html code:
span class="w-button-common w-button"> input name="commit" type="submit" value="Sign out" /
i have tried:
webBrowser1.Document.Forms[0].InvokeMember("submit");
but there are a few buttons with type="submit" on the page.
How do i get it to click the right one?
if you would like me to provide the full source of the page then please ask :)