@Test
	public void testSearchForAddressTables() {

		moveTool(500, 500);

		performAction("Search for Address Tables", "AutoTableDisassemblerPlugin", false);
		waitForSwing();

		DialogComponentProvider dialog = getDialog();
		waitForSwing();
		pressButtonByText(dialog, "Search");

		JComponent component = dialog.getComponent();
		JTable table = findComponent(component, JTable.class);
		TableModel model = table.getModel();
		waitForTableModel((ThreadedTableModel<?, ?>) model);

		captureDialog(DialogComponentProvider.class, 800, 525);
	}
Captures the Direct References search dialog for a selection.
Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/SearchScreenShots.java