Class WebElementStateMatchers
java.lang.Object
net.serenitybdd.screenplay.matchers.WebElementStateMatchers
public class WebElementStateMatchers
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description WebElementStateMatchers() -
Method Summary
Modifier and Type Method Description static <T extends WebElementState>
org.hamcrest.Matcher<T>containsOnlyText(java.lang.String expectedText)static <T extends WebElementState>
org.hamcrest.Matcher<T>containsSelectOption(java.lang.String expectedText)static <T extends WebElementState>
org.hamcrest.Matcher<T>containsText(java.lang.String expectedText)static <T extends WebElementState>
org.hamcrest.Matcher<T>hasValue(java.lang.String expectedText)static <T extends WebElementState>
org.hamcrest.Matcher<T>isClickable()static <T extends WebElementState>
org.hamcrest.Matcher<T>isCurrentlyEnabled()static <T extends WebElementState>
org.hamcrest.Matcher<T>isCurrentlyVisible()static <T extends WebElementState>
org.hamcrest.Matcher<T>isEmpty()static <T extends WebElementState>
org.hamcrest.Matcher<T>isEnabled()static <T extends WebElementState>
org.hamcrest.Matcher<T>isNotCurrentlyEnabled()static <T extends WebElementState>
org.hamcrest.Matcher<T>isNotCurrentlyVisible()static <T extends WebElementState>
org.hamcrest.Matcher<T>isNotEmpty()static <T extends WebElementState>
org.hamcrest.Matcher<T>isNotEnabled()static <T extends WebElementState>
org.hamcrest.Matcher<T>isNotPresent()static <T extends WebElementState>
org.hamcrest.Matcher<T>isNotSelected()static <T extends WebElementState>
org.hamcrest.Matcher<T>isNotVisible()static <T extends WebElementState>
org.hamcrest.Matcher<T>isPresent()static <T extends WebElementState>
org.hamcrest.Matcher<T>isSelected()static <T extends WebElementState>
org.hamcrest.Matcher<T>isVisible()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WebElementStateMatchers
public WebElementStateMatchers()
-
-
Method Details
-
isVisible
-
isNotVisible
-
isNotEmpty
-
isEmpty
-
isCurrentlyVisible
-
isNotCurrentlyVisible
-
isEnabled
-
isNotEnabled
-
isCurrentlyEnabled
-
isNotCurrentlyEnabled
-
isPresent
-
isNotPresent
-
isSelected
-
isNotSelected
-
isClickable
-
containsText
public static <T extends WebElementState> org.hamcrest.Matcher<T> containsText(java.lang.String expectedText) -
hasValue
public static <T extends WebElementState> org.hamcrest.Matcher<T> hasValue(java.lang.String expectedText) -
containsOnlyText
public static <T extends WebElementState> org.hamcrest.Matcher<T> containsOnlyText(java.lang.String expectedText) -
containsSelectOption
public static <T extends WebElementState> org.hamcrest.Matcher<T> containsSelectOption(java.lang.String expectedText)
-