public class TextMatcher extends org.hamcrest.TypeSafeMatcher<WebElement>
Matcher
for matching text content within WebElement
s.Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(WebElement item) |
static org.hamcrest.Matcher<WebElement> |
text(org.hamcrest.Matcher<String> textMatcher) |
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> text(org.hamcrest.Matcher<String> textMatcher)
Copyright © 2013. All rights reserved.