API Reference / @gtkx/testing / findByRole
Variable: findByRole
constfindByRole:BuiltinQueries["findByRole"]
Defined in: queries.d.ts:83
Waits for and returns the single widget with a matching accessible role and options, retrying until it appears or the timeout elapses. Rejects when none or more than one matches.