click button on a page javascript

 

simple javascript loop click button


(function loop() {
  setTimeout(function() {
    
   var inputs = document.querySelector("#app > div.main > div > div > div.chest-btn.btn-hover-bright").click();
    loop()
  }, 1000)
})()


the code for button has been get by copy selector from inspect element if you go to button code then right click and copy then copy selctor

Comments

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation