I am trying to emulate a user\'s click on a site who\'s code I do not control. The element I am trying to engage with a div acting as button.
I actually tried on the link you gave and it works. There's no jquery on the page, so have to go by native methods.
var click= document.createEvent("MouseEvents");
click.initMouseEvent("click", true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
document.getElementsByClassName('c-T-S a-b a-b-B')[0].dispatchEvent(click)