org.openqa.selenium.lift.match
Class SelectionMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<WebElement>
org.openqa.selenium.lift.match.SelectionMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<WebElement>, org.hamcrest.SelfDescribing
public class SelectionMatcher
- extends org.hamcrest.TypeSafeMatcher<WebElement>
Matcher to match a selected element (e.g. a radio button).
Methods inherited from class org.hamcrest.TypeSafeMatcher |
matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SelectionMatcher
public SelectionMatcher()
matchesSafely
public boolean matchesSafely(WebElement item)
- Specified by:
matchesSafely
in class org.hamcrest.TypeSafeMatcher<WebElement>
describeTo
public void describeTo(org.hamcrest.Description description)
selection
public static org.hamcrest.Matcher<WebElement> selection()
Copyright © 2012. All Rights Reserved.