Class IsNotVisibleMatcher<T extends WebElementState>

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
net.serenitybdd.screenplay.matchers.statematchers.IsNotVisibleMatcher<T>
All Implemented Interfaces:
CheckForAbsenceHint, QuestionHint, org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing

public class IsNotVisibleMatcher<T extends WebElementState>
extends org.hamcrest.TypeSafeMatcher<T>
implements CheckForAbsenceHint
  • Constructor Summary

    Constructors
    Constructor Description
    IsNotVisibleMatcher()  
  • Method Summary

    Modifier and Type Method Description
    protected void describeMismatchSafely​(T item, org.hamcrest.Description mismatchDescription)  
    void describeTo​(org.hamcrest.Description description)  
    protected boolean matchesSafely​(T element)  

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, 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
  • Constructor Details

    • IsNotVisibleMatcher

      public IsNotVisibleMatcher()
  • Method Details

    • matchesSafely

      protected boolean matchesSafely​(T element)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<T extends WebElementState>
    • describeTo

      public void describeTo​(org.hamcrest.Description description)
      Specified by:
      describeTo in interface org.hamcrest.SelfDescribing
    • describeMismatchSafely

      protected void describeMismatchSafely​(T item, org.hamcrest.Description mismatchDescription)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<T extends WebElementState>