I'm using the connect to popup dialog to connect to a browser that is launched when clicking a link. I then do some actions in the second tab which changes the URL, I then need to close the second browser, do I use the close popup dialog to close the second tab and just put the now chanced URL or do I use the URL I connected to. Right now I put the modified url in the close popup dialog, but sometimes it doesn't close the new browser tab and shift focus back to the first browser tab.
I'm aware I can use a coded step to close that second tab, and use Manager.Browsers.count to count the tabs to ensure that second tab does close as long as I do a global browser count variable. If you believe that's the best way to go I can do that, but I wanted to make sure I was approaching it correctly.
Hi Jessica, I tried to reproduce the encountered issue on my end, by following the details you shared, and tested it across all supported browsers. The "Close pop-up" step works in Internet Explorer, even if that tab's URL was changed, but it does not work as expected on the other browsers (Chrome, Edge Chromium and Firefox).
I will involve some of the developers to investigate this behavior further and will get back to you in this thread. This might take several days, since we have a lot of holidays this week and most of the team is not available. So, I will get back to you with more details by the beginning of next week. Thank you for the understanding!