Skip to main content

find_button_bounds

Function find_button_bounds 

Source
pub fn find_button_bounds<E: SemanticElementLike>(
    elements: &[E],
    text: &str,
) -> Option<Bounds>
Expand description

Find a clickable element (button) containing the specified text. Returns the bounds (x, y, width, height) if found.