var button = document.getElementById("thebutton")button.click()