getByRole

abstract fun <T : HTMLElement> getByRole(role: ByRoleMatcher, options: ByRoleOptions = definedExternally): T(source)