AttributeValueIs

Function AttributeValueIs 

Source
pub fn AttributeValueIs(attr: impl Into<String>, value: impl Into<String>) -> Ec
Expand description

The attribute value of an element is equal to the given value.

use web_sys_ec::{Ec, Wait};

Wait(1).until(("p", Ec::AttributeValueIs("attr", "value")));