public class WebElementStateMatchers extends Object
Constructor and Description |
---|
WebElementStateMatchers() |
Modifier and Type | Method and Description |
---|---|
static <T extends WebElementState> |
containsOnlyText(String expectedText) |
static <T extends WebElementState> |
containsSelectOption(String expectedText) |
static <T extends WebElementState> |
containsText(String expectedText) |
static <T extends WebElementState> |
hasValue(String expectedText) |
static <T extends WebElementState> |
isClickable() |
static <T extends WebElementState> |
isCurrentlyEnabled() |
static <T extends WebElementState> |
isCurrentlyVisible() |
static <T extends WebElementState> |
isEmpty() |
static <T extends WebElementState> |
isEnabled() |
static <T extends WebElementState> |
isNotCurrentlyEnabled() |
static <T extends WebElementState> |
isNotCurrentlyVisible() |
static <T extends WebElementState> |
isNotEmpty() |
static <T extends WebElementState> |
isNotEnabled() |
static <T extends WebElementState> |
isNotPresent() |
static <T extends WebElementState> |
isNotSelected() |
static <T extends WebElementState> |
isNotVisible()
Is this element not visible on the screen
|
static <T extends WebElementState> |
isPresent() |
static <T extends WebElementState> |
isSelected() |
static <T extends WebElementState> |
isVisible()
Is this element present and visible on the screen
|
public static <T extends WebElementState> org.hamcrest.Matcher<T> isVisible()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotVisible()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotEmpty()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isEmpty()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isCurrentlyVisible()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotCurrentlyVisible()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isEnabled()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotEnabled()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isCurrentlyEnabled()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotCurrentlyEnabled()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isPresent()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotPresent()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isSelected()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isNotSelected()
public static <T extends WebElementState> org.hamcrest.Matcher<T> isClickable()
public static <T extends WebElementState> org.hamcrest.Matcher<T> containsText(String expectedText)
public static <T extends WebElementState> org.hamcrest.Matcher<T> hasValue(String expectedText)
public static <T extends WebElementState> org.hamcrest.Matcher<T> containsOnlyText(String expectedText)
public static <T extends WebElementState> org.hamcrest.Matcher<T> containsSelectOption(String expectedText)
Copyright © 2023. All rights reserved.