How do I click a form button with webbrowser control?
I'm trying to automate a web form.
The button that submits the form's ID is "buttonID".
I know that my submit variable is matching the element because i've successfully performed submit.innerText
I need to be able to click on this button... how is it done?
Code:
Dim submit As HtmlElement = wb.Document.GetElementById("buttonID")
submit.InvokeMember("click")
Re: How do I click a form button with webbrowser control?
maybe try:
vb Code:
wb.Document.GetElementById("buttonID").InvokeMember("click")
are there any frames on the page? or more than one form?