public class AttributeMatcher extends org.hamcrest.TypeSafeMatcher<WebElement>
WebElement
s.Modifier and Type | Method and Description |
---|---|
static org.hamcrest.Matcher<WebElement> |
attribute(String name,
org.hamcrest.Matcher<String> valueMatcher) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(WebElement item) |
describeMismatch, describeMismatchSafely, matches
public boolean matchesSafely(WebElement item)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<WebElement>
public void describeTo(org.hamcrest.Description description)
public static org.hamcrest.Matcher<WebElement> attribute(String name, org.hamcrest.Matcher<String> valueMatcher)
Copyright © 2013. All rights reserved.