I am able to check open URLs in IE browser as in the code below. Does anyone have any idea how to check open URLs in chrome browser using VBA code?
Set objShell = CreateObject("Shell.Application")
IE_count = objShell.Windows.Count
For x = 0 To (IE_count - 1)
On Error Resume Next
my_url = objShell.Windows(x).Document.Location
my_title = objShell.Windows(x).Document.Title
Debug.Print my_url
Debug.Print my_title
Next