right_button_up
right_button_up($x,$y,$scroll=true); - this function is used to fully emulate pressing the right mouse button at a given point in the browser
The function accepts parameters as input:
$x – x - coordinate of the point where you want to press the button, relative to the upper-left corner of the browser. (int)
$y – y - coordinate of the point where you want to press the button, relative to the upper-left corner of the browser. (int)
$scroll – whether to scroll the browser to the specified point. If is false, it will simply be pressed at the specified point. if is true, it will be automatically scrolled to the specified point (boolean).
If the coordinates are empty, the click is made at the current point.
After working out, the function returns the result of its work to the script :
true – successfully pressed at the specified point(boolean)false – operation failed (boolean)