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 withinWebElement
s.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
Deprecated.boolean
matchesSafely(org.openqa.selenium.WebElement item)
Deprecated.static org.hamcrest.Matcher<org.openqa.selenium.WebElement>
text(org.hamcrest.Matcher<java.lang.String> textMatcher)
Deprecated.-
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
-
-
-
-
Method Detail
-
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<java.lang.String> textMatcher)
Deprecated.
-
-