That is not a button, in the strictest sense of the word. It is just an image inside of a clickable hyperlink.
In any case, neither HTML element has and name
or id
specified, so you have your work cut out for you. You have to start by querying the WebBrowser.Document
for the IHTMLDocument2
interface and then dig through the browser's DOM interfaces as needed looking for the <a>
element you are interested in, then you can call its click()
method.