public static void pressButtonByText(Container container, String buttonText) {
		pressButtonByText(container, buttonText, true);
	}
Finds the button with the indicated TEXT that is a sub-component of the
indicated container, and then programmatically presses the button. <BR>
The following is a sample JUnit test use:

<PRE>
env.showTool();
OptionDialog dialog = (OptionDialog) env.waitForDialog(OptionDialog.class, 1000);
assertNotNull(dialog);
pressButtonByText(dialog, "OK");
</PRE>

@param container the container to search. (Typically a dialog.)
@param buttonText the text on the desired JButton.
@throws AssertionError if the button isn't found, isn't showing or isn't
            enabled
Ghidra/Framework/Gui/src/main/java/generic/test/AbstractGuiTest.java