Hi all,
Background:
I've got a desktop flow that runs through a "Select Customer -> Click some buttons on various screens" in our web-based CRM. It works very well barring specific instances where a warning on the screen means the button to be clicked is actually off the screen in some (very few) instances.
To try and handle these within the flow, (rather than skip them and manually fix at the end, which is what I have been doing) I figured I'd add a nice simple subflow to call on error that runs a JS function on webpage (Scrolldown) and then repeat the "Move mouse to text on screen" action.
Issue:
"The Run JavaScript function on web page" action requires me to specify the browser instance as a parameter. The problem is, it's a popup window from the original browser instance that I'm interacting with, and I can't see a way to specify this. Screenshot below should hopefully help explain.
Previously I've not had to refer back to the browser instance, as all the following steps are played out in the 'active window' (the popup). Now I'm having to perform the on-error action however, I need to be able to reference this popup window, and I can't see how to do that.
Any help/advice would be hugely apprec
Thanks Jamar. I figured a workaround for my specific issue this time, but this is definitely useful to know for the future!
Use the "Launch New Microsoft Edge" (or your browser of choice) then set it to "Attach to running instance", then choose what method to use to find the browser. I prefer matching by title for an example like this. Also, you only need part of the tab/window name as it will match with the one "closest" to it (think auto complete or starts with or wildcard at the end), you can even use variables here.
This will give you a browser handle that you can use to close that popup window or tab
eetuRobo
64
Super User 2025 Season 1
Nived_Nambiar
18
Super User 2025 Season 1
CU12050101-0
12