Skip to content

API Reference / @gtkx/testing / queryByText

Variable: queryByText

const queryByText: BuiltinQueries["queryByText"]

Defined in: queries.d.ts:95

Returns the single widget with matching rendered text content, or null when none match. Throws when more than one matches.

Released under the MPL-2.0 License.