puppeteer element.click() not working and not throwing an error : <p>I have a situation where a button, on a form, that is animated into view, if the element.click() happens while the animation is in progress, it doesn't work.</p>

<p>element.click() doesn't throw an error, doesn't return a failed status (it returns undefined) it just silently doesn't work.</p>

<p>I have tried ensuring the element being clicked is not disabled, and is displayed (visible) but even though both those tests succeed, the click fails.</p>

<p>If I wait 0.4s before clicking, it works because the animation has finished.</p>

<p>I don't want to have to add delays (which are unreliable, and a bodge to be frank), if I can detect when a click worked, and if not automatically retry.</p>

<p>Is there a generic way to detect if a click() has actually been actioned so I can use a retry loop until it does?  </p>
