The support module webtester-support-hamcrest provides Hamcrest Matcher implementations for each of the functional
page objects provided by the webtester-core module:
ButtonMatcherCheckboxMatcherGenericListMatcherGenericTextFieldMatcherIFrameMatcherImageMatcherListMatcherNumberFieldMatcherPageObjectMatcherRadioButtonMatcherTableFieldMatcherTableMatcherTableRowMatcherTextAreaMatcherTextFieldMatcher
All state getter methods of supported page objects have a corresponding matcher implementation.
TextField username = ...;
TextFieldMatcher.assertThat(username, hasText("fooUser"));