get_element_bounds()
Get the bounding box of an element matched by a CSS selector.
Usage
get_element_bounds(selector)Parameters
selector: str- CSS selector to match.
Returns
ClipRect- The bounding rectangle of the element.
Raises
ValueError- If the selector matches no elements.