I’m currently trying to activate a specific tab in Microsoft Edge that contains a particular URL.
Following advice from Autopilot, I attempted to use the For Each UiElement activity to select the tab bar and iterate through the tabs. However, when I try to indicate the tab bar element, I receive the following error message:
“This element is not suitable for table extraction. Please select an element that is part of a table.”
I have already tried reinstalling the package and even reinstalling the program, but the issue persists.
Is it possible that I’m using the wrong activity for this purpose?
If so, what would be the recommended approach to iterate through Edge tabs and activate the one that contains a specific address?
Is better for you to use this logic. Start a loop for example while loop and send hotkey with Ctrl + Tab to move to the next tab and with get attribute you can pull url or title of the current active tab. You can check check if the url matches if yes, you can break from the loop.
If it helps you can press solve this issue. Happy automation!
1.Place the use application / browser activity
2.Set the properties as Close Never and Open Never
3.Pass the required URL
4.Use the Activate activity within the Use application/ browser activity so that the tab which contains the same URL will come to foreground
Classic Activities:
1.Place the Attach browser activity
2.Set the properties as Close Never and Open Never
3.Pass the required URL
4.Use the Activate activity within the Attach activity so that the tab which contains the same URL will come to foreground
Use For Each UiElement and select the Tab instead of tab bar. If it identify the all the tabs then you can iterate through tabs and preform your desired actions.