vb.net - How can I click on a button without an ID -


i'm using vb.net , i'm using webbrowser1.document.getelementbyid("submit").invokemember("click")

but can't seem find actual id. i'm trying find sign in button id site: http://grooveshark.com/#!/login

any solutions?

you can buttons this

webbrowser1.document.getelementsbytagname("button") 

it might easier submit form instead.

dim form htmlelement = webbrowser1.document.getelementbyid("formid")  if form isnot nothing         form.invokemember("submit") end if 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -