hasAccessibilityRole
Tests if any view hierarchy under the root has the given accessibility role.
Return
the assertions object
Parameters
accessibilityRole
the accessibility role to search for
Tests if any view hierarchy under the root has the given accessibility role.
the assertions object
the accessibility role to search for