R – Auto click a link/button in webbrowser

.netbrowser

Theres a link i want to click. I also have the HtmlElement of the link. However it is /site/blah/# so i know theres some JS there. How do i simulate the click?

Best Solution

All DOM elements have a click() method - have you tried calling that?