Class WebElementStateMatchers


  • public class WebElementStateMatchers
    extends Object
    • Constructor Detail

      • WebElementStateMatchers

        public WebElementStateMatchers()
    • 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)