Web Title Selector with Regex for dynamic select tab (issues)

Hello guys, I am trying to automate a browser flow where I use the “Attach Browser” utility for the “Retail Home” tab, this tab after a few steps opens a second one called “Launcher”, however I need to interact in both tabs within the same flow and I don’t want to repeatedly use the “Attach Browser” activity, so I tried to use a selector with Regex in the following ways:

<html app='chrome.exe' title='.*(Retail|Launcher)' matching:title='regex' />
<html app='chrome.exe' title='.*(Retail|Launcher)'.* matching:title='regex' />
<html app='chrome.exe' title='.*(Retail.*|Launcher)' matching:title='regex' />
<html app='chrome.exe' title='.*(Retail.*|.*Launcher.*)' matching:title='regex' />
<html app='chrome.exe' title='.*(Retail.*|.*Launcher.*).*' matching:title='regex' />
<html app='chrome.exe' title='.*(.*Retail.*|.*Launcher.*).*' matching:title='regex' />

Screen Shot 2024-06-29 at 18.12.49

And neither option seems to work, ideas or any solution to iterate between the 2 tabs with a dynamic selector?

Screen Shot 2024-06-29 at 18.13.00

Remember that when using “Attach Browser” the selector or title of the application is automatically placed in the activities within the Attach so the header or selector of the application is modified within “Attach Browser”

Thanks in advance!

1 Like

@BryannLuna

You need to use two different attach browsers…else always the retail tab would be picked as that is the first tab and it would fail for the other tab…that would be the ideal way to go about it

Cheers

1 Like