get_x
get_x($in_browser=false,$virtual=false); - this function is used to get the x - coordinate of the mouse cursor
the function accepts parameters as input:
$in_browser – in_browser - when is true, the coordinates are obtained relative to the browser, and when is false, relative to the desktop. (boolean) - (parameter available since 4.6.9) $virtual – virtual - if is true, the coordinates are virtual (passed by the send_xxx commands), and if is false, they are real. (boolean) - (parameter available from 4.9.30)
After testing, the function returns the result of its work to the script :
x – x - coordinate of the mouse (int)false – operation failed (boolean)