public static Matcher<Element> attr(String attribute, String value) {
return attr(attribute, Matchers.is(value));
}
public static Matcher<Element> attr(String attribute, Matcher<String> matcher) {
return new HasAttributeMatcher(attribute, matcher);
}