public class ValueMatcher extends org.hamcrest.TypeSafeMatcher<WebElement>
| 构造器和说明 |
|---|
ValueMatcher(Object value) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(WebElement item) |
static org.hamcrest.Matcher<WebElement> |
value(Object value) |
public ValueMatcher(Object value)
public boolean matchesSafely(WebElement item)
matchesSafely 在类中 org.hamcrest.TypeSafeMatcher<WebElement>public void describeTo(org.hamcrest.Description description)
public static org.hamcrest.Matcher<WebElement> value(Object value)