Skip to main content

find_elements_by_role

Function find_elements_by_role 

Source
pub fn find_elements_by_role<E: SemanticElementLike>(
    elements: &[E],
    role: &str,
) -> Vec<Bounds>
Expand description

Find all elements matching a role (e.g., “Layout”, “Text”).