Package org.openqa.selenium.lift.match
Class SelectionMatcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>
-
- org.openqa.selenium.lift.match.SelectionMatcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<org.openqa.selenium.WebElement>
,org.hamcrest.SelfDescribing
public class SelectionMatcher extends org.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>
Matcher to match a selected element (e.g. a radio button).
-
-
Constructor Summary
Constructors Constructor Description SelectionMatcher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
boolean
matchesSafely(org.openqa.selenium.WebElement item)
static org.hamcrest.Matcher<org.openqa.selenium.WebElement>
selection()
-
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
-
-
-
-
Method Detail
-
matchesSafely
public boolean matchesSafely(org.openqa.selenium.WebElement item)
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
selection
public static org.hamcrest.Matcher<org.openqa.selenium.WebElement> selection()
-
-