Class AttributeMatcher

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>
org.openqa.selenium.lift.match.AttributeMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<org.openqa.selenium.WebElement>, org.hamcrest.SelfDescribing

@Deprecated public class AttributeMatcher extends org.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>
Deprecated.
hamcrest matcher for attributes of WebElements.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.hamcrest.Matcher<org.openqa.selenium.WebElement>
    attribute(String name, org.hamcrest.Matcher<String> valueMatcher)
    Deprecated.
     
    void
    describeTo(org.hamcrest.Description description)
    Deprecated.
     
    boolean
    matchesSafely(org.openqa.selenium.WebElement item)
    Deprecated.
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, describeMismatchSafely, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • matchesSafely

      public boolean matchesSafely(org.openqa.selenium.WebElement item)
      Deprecated.
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<org.openqa.selenium.WebElement>
    • describeTo

      public void describeTo(org.hamcrest.Description description)
      Deprecated.
    • attribute

      public static org.hamcrest.Matcher<org.openqa.selenium.WebElement> attribute(String name, org.hamcrest.Matcher<String> valueMatcher)
      Deprecated.