What is the difference between Selenium mouseMove () and actual mouse movement?

Say I have an element A and an element B. I activated Selenium or PhantomJS, which also has the ability to move the mouse using coordinate sets.

I define the form of element A (link) and element B (submit button). I am drawing a Bezier curve or transforming a pre-recorded human mouse movement to move from element A to element B.

My intuition is that it mouseMove()simply “teleports” the cursor to this coordinate set. How does this differ from the actual use of the mouse?

If I track mouse movements on my site, can I say, assuming they use complex motion curves, that they use an automation tool?

+4
source share
1 answer

From my experience, if you are tracking a mouse from JS and the bot just uses selenium to move the mouse pointer without “complex motion curves” , the answer is yes .

But,

if the “bot” is specifically designed to create “complex motion curves” or, for example, “play back a recorded set of motion data,” I think you cannot . ( A similar question is also with a negative answer).

So,

" ", . , , . , , - captcha.

+2

Source: https://habr.com/ru/post/1655775/


All Articles