Xetera / ghost-cursor

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

How to increase mouse speed for moveTo method? #70

Closed EVE231 closed 5 months ago

EVE231 commented 2 years ago

await cursor.moveTo(await ghostCursor.getRandomPagePoint(page)); This takes extremely long for the mouse to move to the point on page. How can i increase the speed or what are my other options to make the cursor move faster to a specific vector point because cursor.move() method only accepts selector arguments and not the specific vector point

iamoskvin commented 1 year ago

I have the same question. Do you find any solution? The mouse speed is lower than I need. I can manually edit the path function, but the maximum speed is 1, as I understood. How could I increase speed even more? Thank you.

bvandercar-vt commented 5 months ago

PR to add this: https://github.com/Xetera/ghost-cursor/pull/133

Niek commented 5 months ago

Fixed in #133