findByTextAsync

abstract fun <T : HTMLElement> findByTextAsync(id: Matcher, options: SelectorMatcherOptions = definedExternally, waitForElementOptions: waitForOptions = definedExternally): Promise<T>(source)