send_mouse_move_to
send_mouse_move_to($dx=1,$dy=1,$type="curve",$time=1000); - emulate mouse movement at the event level relative to the upper-left corner of the element along a specified path( available from 7.0.24 )
The function accepts parameters as input:
$dx – X – axis offset of the upper-left corner of the element$dy - Y-axis Offset of the upper-left corner of the element$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 - time for which the placement will be performed (milliseconds)
After testing, the function returns the result of its work to the script (the return value type is boolean):
true – completed successfullyfalse – it was not possible to find such an element (for example, there are no elements that meet the specified criteria or there is no such frame)