thirtyfour::extensions::query::conditions

Function element_lacks_attributes

Source
pub fn element_lacks_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 do not have any of the specified attributes with the specified values. See the Needle documentation for more details on text matching rules.