# android.support.test.espresso.web.matcher

# android.support.test.espresso.web.matcher

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

## Classes

|--------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [DomMatchers](https://developer.android.com/reference/android/support/test/espresso/web/matcher/DomMatchers) | A collection of hamcrest matchers for objects in the org.w3c.dom package (such as[Document](https://developer.android.com/reference/org/w3c/dom/Document.html)and[Element](https://developer.android.com/reference/org/w3c/dom/Element.html)). |

## Exceptions

|--------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|
| [AmbiguousElementMatcherException](https://developer.android.com/reference/android/support/test/espresso/web/matcher/AmbiguousElementMatcherException) | An exception which indicates that for a given XPath there were multiple Elements found when only 1 element was expected. |

-

  ## Classes

  - [DomMatchers](https://developer.android.com/reference/android/support/test/espresso/web/matcher/DomMatchers)
-

  ## Exceptions

  - [AmbiguousElementMatcherException](https://developer.android.com/reference/android/support/test/espresso/web/matcher/AmbiguousElementMatcherException)