hasAccessibleRole
Matches a component whose accessible role equals role, read from its java.awt.Component.getAccessibleContext.
Return
a matcher whose description names this condition.
Parameters
role
the role the component's type reports, such as AccessibleRole.PUSH_BUTTON for a button; nothing a test declares changes it.