setTimeout(function() { document.querySelector(".continuebutton a").click(); console.log("Continue Clicked"); }, 3000);