public static Window waitForWindowByTitleContaining(String text) {

		// try at least one time
		Window window = getWindowByTitleContaining(null, text);
		if (window != null) {
			return window;// we found it...no waiting required
		}

		int totalTime = 0;
		int timeout = DEFAULT_WAIT_TIMEOUT;
		while (totalTime <= timeout) {

			window = getWindowByTitleContaining(null, text);
			if (window != null) {
				return window;
			}

			totalTime += sleep(DEFAULT_WAIT_DELAY);
		}

		throw new AssertionFailedError(
			"Timed-out waiting for window containg title '" + text + "'");
	}
Waits for the system info dialog to appear
@return the dialog
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java