Skip to main content

get_elements_union_bounds()

Get the union bounding box of all elements matched by the given selectors.

Usage

Source

get_elements_union_bounds(selectors)

Parameters

selectors: list[str]
List of CSS selectors to match.

Returns

ClipRect
The union bounding rectangle encompassing all matched elements.