Just to clarify- this popup opens in a new window and the URL changes each time, but does the content or structure of the data inside remain consistent every time? Also, could you please confirm if the browser is opening a completely new Chrome instance or just a new tab within the same instance?
If it’s opening a new instance, then “Get Active Window” won’t work reliably. In that case, you can use the “Get Processes” activity with something like “Process.GetProcessesByName(“chrome”)”, then loop through each process using a “For Each” loop. Inside that, use “Attach Window” or “Use Application/Browser”, get the window’s URL or title using “Get Attribute”, and check if it matches expected content (anything diff from your main tab). Once you find the right one, proceed with your interaction.
Also, using “Get Attribute”, you can extract the URL or Title of the new window, store it as a variable, and then use that variable dynamically in all your selectors while interacting with elements in the new window.
Hope this resolves the issues.