Java library which implements hamcrest matchers for collections and webdriver webelements. Includes a few matcher decorators to handle timeout issues.
Clone or download

Matchers Java

release Coverage Status

Collection of useful Hamcrest's matchers for everyday testers life.


Choose one of the modules and add to your pom.xml

  • WebDriver Matchers
    Maven Central
    webdriver-matchers - Matchers library to work with WebDriver WebElement interface.

  • Collections Matchers
    Maven Central
    collection-matchers - Matchers library to work with collections.

  • Common Matchers
    Maven Central
    common-matchers - Matchers library with matchers for common use cases.

  • Java NIO Matchers
    Maven Central
    nio-matchers - Matchers library with matchers for Java NIO.

  • Matcher Decorators
    Maven Central
    matcher-decorators - Decorators which allows handle additional condition issues (e.g. timeouts) directly in the assertion statements.


You can find more useful libs and examples on wiki