How to get Web Browser's Tab details?

Here is how to do it with IE (doesn’t work on Chrome due to a bug, thanks for let us discover it)

Use a Find Children activity

  • Leave the Target empty
  • Set Scope = FIND_TOP_LEVELS
  • Set Filter = "<html />"

and iterate through the attached collection of UiElement (browsers). See attached:
Browsers.xaml (7.1 KB)

Note1: for Chrome it should work with Filter = "<html app='chrome.exe' />"
Note2: a browser variable is a tab and not an application containing multiple tabs.

7 Likes