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 WebElements.
  • Method Summary

    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<String> textMatcher)
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • matchesSafely

      public boolean matchesSafely(org.openqa.selenium.WebElement item)
      Deprecated.
      Specified by:
      matchesSafely in class org.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.