findByRoleAsync

abstract fun <T : HTMLElement> findByRoleAsync(role: ByRoleMatcher, options: ByRoleOptions = definedExternally, waitForElementOptions: waitForOptions = definedExternally): Promise<T>(source)