Package org.openqa.selenium.lift.match
Class DisplayedMatcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>
-
- org.openqa.selenium.lift.match.DisplayedMatcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<org.openqa.selenium.WebElement>,org.hamcrest.SelfDescribing
public class DisplayedMatcher extends org.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>Hamcrest matcher for displayed status ofWebElements.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddescribeTo(org.hamcrest.Description description)static org.hamcrest.Matcher<org.openqa.selenium.WebElement>displayed()booleanmatchesSafely(org.openqa.selenium.WebElement item)-
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
-
-
-
-
Method Detail
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
matchesSafely
public boolean matchesSafely(org.openqa.selenium.WebElement item)
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>
-
displayed
public static org.hamcrest.Matcher<org.openqa.selenium.WebElement> displayed()
-
-