Press a button in a TWebbrowser when there are multiple buttons in the same form

Spread the love

// If there is only one button, you can do something like:

WebBrowser1.OleObject.Document.forms.item(0).elements.item(0).click;

// This will do a click on the first element of the first 
, where an // element is either ,