Xetera / ghost-cursor

🖱️ Generate human-like mouse movements with puppeteer or on any 2D plane
MIT License
1.03k stars 120 forks source link

How to avoid sometimes clicking on adjacent elements with cursor.click? #120

Open cage1618 opened 6 months ago

cage1618 commented 6 months ago

I speculate that perhaps the clicking occurs before the mouse movement has completely stopped, but even when I tried adding a delay before the click, the issue still occurred.

Niek commented 4 months ago

Do you have a reproducible test page for this?

rezovax commented 2 months ago

the problem is relevant

TheGP commented 1 month ago

Yeah it happens actually, I will speculate it is because of the element's box, we need to make a test page for it for sure, for me it happens on complicated websites and pretty rarely so I wasn't able to catch it yet.