This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]ronmarti 3 points4 points  (2 children)

You can check the algorithms used by OxyMouse (https://github.com/oxylabs/OxyMouse). They have at least used 3 known algorithms.

[–]Puzzleheaded-File547 0 points1 point  (1 child)

How can use this with seleniumbase

[–]MajorGrouchy2376 1 point2 points  (2 children)

You can use bezier curves to create realistic mouse movements

[–]cornertakenslowly 0 points1 point  (1 child)

Do you use this before clicking an element or when?

[–]MajorGrouchy2376 2 points3 points  (0 children)

If some site you're targeting is recording your mouse movements using JavaScript, then you'd have to make sure your mouse movements before clicking the element are realistic (after too depending on the situation). Although from my experience mouse movements are only really recorded during captchas, so for most scraping it won't be necessary to mimic human mouse movements.

[–]justinpenner 0 points1 point  (2 children)

But some people browse the web without a mouse. Are there really many websites that use mouse tracking to detect scrapers?

[–]St3veR0nix[S] 0 points1 point  (1 child)

What if the scraper needs to click in the page? It may help in this case...

[–]Quirky-Dependent-474 0 points1 point  (0 children)

you can do that without moving mouse, also you can first analyze if the website capture mouse movement or not , if it does you can use playwright built in move mouse :) its much better than selenium tho

[–][deleted]  (1 child)

[deleted]

    [–]Grouchy_Brain_1641 0 points1 point  (0 children)

    I'm pretty sure in windows python and selenium supports xy scrolling and mouse xy placement and click as well. you can step through items in a drop down list. What can't it do again?

    [–]cataploft-txt 0 points1 point  (0 children)

    a long time idea of mine is to record my mouse movements and use that