org.openqa.selenium.lift.match
Class TextMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<WebElement>
org.openqa.selenium.lift.match.TextMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<WebElement>, org.hamcrest.SelfDescribing
public class TextMatcher
- extends org.hamcrest.TypeSafeMatcher<WebElement>
Matcher
for matching text content within WebElement
s.
Methods inherited from class org.hamcrest.TypeSafeMatcher |
matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
matchesSafely
public boolean matchesSafely(WebElement item)
- Specified by:
matchesSafely
in class org.hamcrest.TypeSafeMatcher<WebElement>
describeTo
public void describeTo(org.hamcrest.Description description)
text
public static org.hamcrest.Matcher<WebElement> text(org.hamcrest.Matcher<String> textMatcher)
Copyright © 2012. All Rights Reserved.