Skip to content

Fix inaccurate humanized mouse movement#10

Open
xXEpicGamerXx wants to merge 1 commit intocoryking:mainfrom
xXEpicGamerXx:main
Open

Fix inaccurate humanized mouse movement#10
xXEpicGamerXx wants to merge 1 commit intocoryking:mainfrom
xXEpicGamerXx:main

Conversation

@xXEpicGamerXx
Copy link

Previously when humanization was enabled page.mouse.move() would stop just short of the intended location. This was due to the last movement step in the mouse trajectory being skipped. I could not find any reason for the skipping of the last movement step and removed it.

Previously when humanizaiton was enable page.mouse.move() would stop just short of the intended location. This was due to the last movement step in the mouse trajectory being skipped. This commit removes the skip of the last step making page.mouse.move() land the mouse precisely where desired.
@markthepixel
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants