Function thirtyfour_query::conditions::element_has_attribute[][src]

pub fn element_has_attribute<S, N>(
    attribute_name: S,
    value: N,
    ignore_errors: bool
) -> ElementPredicate where
    S: Into<String>,
    N: Needle + Clone + Send + Sync + 'static, 

Predicate that returns true for elements that have the specified attribute with the specified value. See the Needle documentation for more details on text matching rules.