Package org.openqa.selenium.lift.match
Class TextMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>
org.openqa.selenium.lift.match.TextMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<org.openqa.selenium.WebElement>
,org.hamcrest.SelfDescribing
@Deprecated
public class TextMatcher
extends org.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>
Deprecated.
Matcher
for matching text content within WebElement
s.-
Method Summary
Modifier and TypeMethodDescriptionvoid
describeTo
(org.hamcrest.Description description) Deprecated.boolean
matchesSafely
(org.openqa.selenium.WebElement item) Deprecated.static org.hamcrest.Matcher<org.openqa.selenium.WebElement>
Deprecated.Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Method Details
-
matchesSafely
public boolean matchesSafely(org.openqa.selenium.WebElement item) Deprecated.- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>
-
describeTo
public void describeTo(org.hamcrest.Description description) Deprecated. -
text
public static org.hamcrest.Matcher<org.openqa.selenium.WebElement> text(org.hamcrest.Matcher<String> textMatcher) Deprecated.
-