/// Only match elements that contain the specified class name.
/// See the `Needle` documentation for more details on text matching rules.
Only match elements that contain the specified class name.
See the `Needle` documentation for more details on text matching rules.
Only match elements that contain the specified class name . See the ` Needle ` documentation for more details on text matching rules .
pub fn with_class<N>(self, class_name: N) -> Self
    where
        N: Needle + Clone + Send + Sync + 'static,
    {
        let ignore_errors = self.ignore_errors;
        self.with_filter(conditions::element_has_class(class_name, ignore_errors))
    }
pub fn with_class < N > ( self , class_name : N ) -> Self where N : Needle + Clone + Send + Sync + ' static , { let ignore_errors = self . ignore_errors ; self . with_filter ( conditions :: element_has_class ( class_name , ignore_errors ) ) }
Only match elements that contain the specified class name.
Only match elements that contain the specified class name .
self
class_name
N