thirtyfour::extensions::query::conditions

Function element_has_properties

Source
pub fn element_has_properties<S, N>(
    desired_properties: &[(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 properties with the specified value. See the Needle documentation for more details on text matching rules.