How to click a button every second using JavaScript?
setInterval(function () {document.getElementById("myButtonId").click();}, 1000);