title: Can a HTMLElement.click() be limited to a certain amount of times used?
body: <p>I have a script for a bookmarklet below given to me by a gentlemen that was very helpful, and I was hoping to understand if I could limit the script to only "clicking" a max of 25 times, or perhaps to slow down each "click" with a wait time of some sort, but where would I include this?</p>
  
  <pre class="lang-js prettyprint-override"><code>javascript:(
    function(){
      document.querySelectorAll(`path[stroke-linecap='round']`).forEach(
        el =&gt; {el.parentElement.parentElement.parentElement.click()}
      )
    })
  ()
  </code></pre>