hasAccessibilityRole

fun hasAccessibilityRole(accessibilityRole: String): ViewTreeAssert

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