Class ContainsTextMatcher<T extends WebElementState>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
net.serenitybdd.screenplay.matchers.statematchers.ContainsTextMatcher<T>
- All Implemented Interfaces:
org.hamcrest.Matcher<T>,org.hamcrest.SelfDescribing
public class ContainsTextMatcher<T extends WebElementState>
extends org.hamcrest.TypeSafeMatcher<T>
-
Constructor Summary
Constructors Constructor Description ContainsTextMatcher(java.lang.String expectedText) -
Method Summary
Modifier and Type Method Description protected voiddescribeMismatchSafely(T item, org.hamcrest.Description mismatchDescription)voiddescribeTo(org.hamcrest.Description description)protected booleanmatchesSafely(T element)Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ContainsTextMatcher
public ContainsTextMatcher(java.lang.String expectedText)
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<T extends WebElementState>
-
describeTo
public void describeTo(org.hamcrest.Description description) -
describeMismatchSafely
- Overrides:
describeMismatchSafelyin classorg.hamcrest.TypeSafeMatcher<T extends WebElementState>
-