double_click
double_click($x,$y,$scroll=true); - this function is used to fully emulate a double mouse click at a given point in the browser
The function accepts parameters as input:
$x – x - coordinate of the point where you want to double-click, relative to the upper-left corner of the browser. (int)
$y – y - coordinate of the point where you want to double-click, relative to the upper-left corner of the browser. (int)
$scroll – whether to scroll the browser to the specified point. If false, a double click will be made at the specified point. if true, automatic scrolling to the specified point will be performed (boolean).
If the coordinates are empty, the click is made at the current point.
After testing, the function returns the result of its work to the script :
true – successfully double-clicked at the specified point(boolean)false – operation failed (boolean)