findByText

suspend external fun findByText(container: HTMLElement, id: Matcher, options: SelectorMatcherOptions = definedExternally, waitForElementOptions: waitForOptions = definedExternally): HTMLElement(source)