thirtyfour::extensions::query::conditions

Function element_has_css_properties

Source
pub fn element_has_css_properties<S, N>(
    desired_css_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 CSS properties with the specified values. See the Needle documentation for more details on text matching rules.