Skip to content

API Reference / @gtkx/testing / findByText

Variable: findByText

const findByText: BuiltinQueries["findByText"]

Defined in: queries.d.ts:103

Waits for and returns the single widget with matching rendered text content, retrying until it appears or the timeout elapses. Rejects when none or more than one matches.

Released under the MPL-2.0 License.