Class WebElementStateMatchers
- java.lang.Object
-
- net.serenitybdd.screenplay.matchers.WebElementStateMatchers
-
public class WebElementStateMatchers extends Object
-
-
Constructor Summary
Constructors Constructor Description WebElementStateMatchers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends WebElementState>
org.hamcrest.Matcher<T>containsOnlyText(String expectedText)static <T extends WebElementState>
org.hamcrest.Matcher<T>containsSelectOption(String expectedText)static <T extends WebElementState>
org.hamcrest.Matcher<T>containsText(String expectedText)static <T extends WebElementState>
org.hamcrest.Matcher<T>hasValue(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()
-
-
-
Method Detail
-
isVisible
public static <T extends WebElementState> org.hamcrest.Matcher<T> isVisible()
-
isNotVisible
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotVisible()
-
isNotEmpty
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotEmpty()
-
isEmpty
public static <T extends WebElementState> org.hamcrest.Matcher<T> isEmpty()
-
isCurrentlyVisible
public static <T extends WebElementState> org.hamcrest.Matcher<T> isCurrentlyVisible()
-
isNotCurrentlyVisible
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotCurrentlyVisible()
-
isEnabled
public static <T extends WebElementState> org.hamcrest.Matcher<T> isEnabled()
-
isNotEnabled
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotEnabled()
-
isCurrentlyEnabled
public static <T extends WebElementState> org.hamcrest.Matcher<T> isCurrentlyEnabled()
-
isNotCurrentlyEnabled
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotCurrentlyEnabled()
-
isPresent
public static <T extends WebElementState> org.hamcrest.Matcher<T> isPresent()
-
isNotPresent
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotPresent()
-
isSelected
public static <T extends WebElementState> org.hamcrest.Matcher<T> isSelected()
-
isNotSelected
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotSelected()
-
isClickable
public static <T extends WebElementState> org.hamcrest.Matcher<T> isClickable()
-
containsText
public static <T extends WebElementState> org.hamcrest.Matcher<T> containsText(String expectedText)
-
hasValue
public static <T extends WebElementState> org.hamcrest.Matcher<T> hasValue(String expectedText)
-
containsOnlyText
public static <T extends WebElementState> org.hamcrest.Matcher<T> containsOnlyText(String expectedText)
-
containsSelectOption
public static <T extends WebElementState> org.hamcrest.Matcher<T> containsSelectOption(String expectedText)
-
-