thirtyfour::extensions::query::conditions

Function element_has_attributes

Source
pub fn element_has_attributes<S, N>(
    desired_attributes: &[(S, N)],
    ignore_errors: bool,
) -> ElementPredicate
where S: Into<String> + Clone, N: Needle + Clone + Send + Sync + 'static,
Expand description

Predicate that returns true for elements that have all of the specified attributes with the specified values. See the Needle documentation for more details on text matching rules.