hasAttr function
Returns a matcher that matches an element that has attributeName
set to value
.
Implementation
Matcher hasAttr(String attributeName, value) => _ElementAttributeMatcher(attributeName, wrapMatcher(value));
Returns a matcher that matches an element that has attributeName
set to value
.
Matcher hasAttr(String attributeName, value) => _ElementAttributeMatcher(attributeName, wrapMatcher(value));