thirtyfour::extensions::query::conditions

Function element_lacks_class

Source
pub fn element_lacks_class<N>(
    class_name: N,
    ignore_errors: bool,
) -> ElementPredicate
where N: Needle + Clone + Send + Sync + 'static,
Expand description

Predicate that returns true for elements that do not contain the specified class name. See the Needle documentation for more details on text matching rules. In particular, it is recommended to use StringMatch or Regex to perform a whole-word search.