How to click on a web button that does not have id, class, tag, or name


The link page looks like the image, but I do not know how to call it from vba until the moment when it should do something like this used IE.document.getElementsByName("button")(0).Click

But now I do not know what command to use if someone can help me, thank you very much.

asked by Matias Vidal 14.11.2018 в 21:30

1 answer


In html5 you can use the attribute [ onclick="function" ] in any element

<img src ="src" onclick="function()">
answered by 14.11.2018 в 21:42