Skip to content

API Reference / @gtkx/testing / getByText

Variable: getByText

const getByText: BuiltinQueries["getByText"]

Defined in: queries.d.ts:99

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

Released under the MPL-2.0 License.