move
move($x,$y,$scroll=true,$time=0,$tremble=5); - this function is used to fully emulate mouse movement to a specified point in the browser
The function accepts parameters as input:
$x – x - coordinate of the point to move the cursor to, relative to the upper-left corner of the browser. (int)
$y – y - coordinate of the point to move the cursor to, relative to the upper-left corner of the browser. (int)
$scroll – whether to scroll the browser to the specified point. If false, it will simply move to the specified point. if true, it will automatically scroll to the specified point (boolean).
$time – the time it takes to move from the current point (parameter is available from 4.6.9). (int)
$tremble – the amplitude of the trajectory jitter (for more human-like emulation) (parameter is available from 4.6.48). (int)
After testing, the function returns the result of its work to the script :
true – successfully moved to the specified point(boolean)false – operation failed (boolean)