get_y
get_y($in_view=false); - get the Y coordinate of the upper-left corner of the element in the DOM model, relative to the upper-left corner of the browser
The function accepts parameters as input:
$in_view – if in_view=false - relative to the entire page, if in_view=true - relative to the visible part of the page (available from version 7.0.40)
After testing, the function returns the result of its work to the script :
y-coordinate – y-coordinate of the upper left corner of the element return type string-1 to find this element failed (e.g. no items that meet the specified criteria or not this frame), the return type int