find_all#

omni.kit.ui_test.find_all(path: str) List[WidgetRef]#

Find all omni.ui Widget or Window by search query.

buttons = ui_test.find_all("Stage//Frame/**/Button[*]")
for button in buttons:
    await button.click()
Parameters:

path (str) – Search query path to locate the widgets or windows.

Returns:

List of found Widget or Window wrapped into `WidgetRef` objects.

Return type:

List[WidgetRef]