send_move_to
send_move_to($x, $y, $type_, $time_ ); - this function is used to move the mouse to a specified point in the browser along a pre-specified path using sending events to the desired instance of the program (available from 6.0.38)
the input Function accepts parameters:
$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)
$type_ – the type of path to move to the specified point. It can take the following values:
- "line" - moving along a straight line
- "curve" - moving along a random curve
- "chaotic" - chaotic movement
- "circle" - along a circular path
- "readtext" - imitating reading text
$time_ – the time in milliseconds that the move should take. The longer the time, the smoother the movement.
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)