Thank you again for responding. I really appreciate you following this thread. Thank you for the tip on the scroll bar. I did miss it several times.
All I am wanting to do is attach to an IE modal, namely the 'Security Warning' modal and click 'Yes' to close the modal and navigate back to my app.
The documentation that you provided above I don't think applies as it uses the "WaitForNewBrowserConnect" method which accepts a URL as one of the parameters. The IE 'Security Warning' modal does not have a URL. It looks and behaves like a windows modal.
For this reason, I was attempting to follow the instructions on this page:
It displayed the following code as an example (which just happened to use the Security Warning as an example!):
GenericDialog SecurityWarningDialog = new GenericDialog(ActiveBrowser, "Security Warning", false, 1); // Click on the Yes buttonManager.DialogMonitor.AddDialog(SecurityWarningDialog);
It wasn't clear to me if this was all that was required - so I researched more and more reading all of your pages under HTML Popups and dialogs prior to posting and hobbling together the code I initially posted above. -- which doesn't work. The code posted initially doesn't give me an error - but also doesn't actually click 'Yes' button inside of the modal.
1. I would like to know how to solve my problem above.
2. Do you know what is missing 'specifically' from the code I posted initially to make it work?
3. In addition, it seems that the documentation around popups and modals should be updated to display more code examples from the beginning to the end. Using the code as displayed in the documentation does not work.