An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.
One of a set of tools we're offering as a way of saying thank you for being a part of the community.
The code I posted is supposed to give access to IE in the form of a collection containing all the open IE windows. I just tried it and works perfectly.
On the menu:
Got to "Project" - "References" and check "Microsoft Internet Controls".
In a new project, add this code:
Sub Form_Load()
Dim IE As New SHDocVw.InternetExplorer
Dim IEWindows As New SHDocVw.ShellWindows
For Each IE In IEWindows
MsgBox IE.LocationURL, , IE.LocationName
Next
End Sub
It will pop up a msgbox containing the URL for each open IE window with the page title for the msgbox caption.