Xetera / ghost-cursor

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

Simulate human scrolling #106

Open captainjackrana opened 11 months ago

captainjackrana commented 11 months ago

Can we add something into this cursor that can simulate human way of scrolling?

Essentially a human like simulation for page.mouse.wheel method? Default behaviour from puppeteer would be pretty mechanical where the scroll rate would be static whenever scrolling by X or Y delta

AndriusCTR commented 9 months ago

+1

iamkhalidbashir commented 6 months ago

+1

TheGP commented 6 months ago

Just use my fork https://github.com/TheGP/ghost-scroll or original one. I don't think it is a good idea to add scrolling to a cursor library. Currently it properly humanizing only 1 scroll .scroll(1, 'down')