getRole

fun getRole(): Role?

Retrieves the accessible role of the element. Based on className, roleDescription, extras and children