Skip to content

API Reference / @gtkx/testing / queryByLabelText

Variable: queryByLabelText

const queryByLabelText: BuiltinQueries["queryByLabelText"]

Defined in: queries.d.ts:85

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

Released under the MPL-2.0 License.