I'm trying to write code to work with an already running IE window. The issue I'm having is that there might be multiple IE windows open, and I need to make sure I connect to the correct one. The only way I know is by looking at the DOM container for the correct IE window, and by checking the PageUrl for this DOM object (each running IE window I want to work with has a unique session number as part of the URL, which I know).
So, I wrote some code to get all the IE forms into a collection and I'm iterating through them, but how do I know which DOM container goes with the form? I cannot go by Caption, since they are all the same.
Thanks,
Aracknid