Hi Carolina,
I have come across this issue myself across a few versions of Blue Prism. I always ask myself in these situations "how would a user do this without a mouse?" This leads me to using send keys and keyboard shortcut keys. This is very reliable if you ensure that you are focused correctly on the active target browser window.
You can do this in a single Navigate stage or in four separate stages.
Step 1: Activate the Chrome Window
Step 2: Global Send Keys - "^l^x" - will get the address in the address bar if you are attached, focused and the browser is activated.
Step 3: Global Send Keys Events - "{SHIFT}{DEL}"
Step 4: You can then enter the [URL] (keep in mind that you will need to escape the web encoding before you send the URL here i.e. %20 = a blank. )
Step 5: Global Send Keys Events - "{SHIFT}{DEL}"
Note:
- This works in Chrome and Edge and should work in Firefox as well.
- This also works for Save As and Open dialogs under chrome/edge as shortcut keys are available 99% of the time.
- So far I have not had any issues with this method from 6.5 through 6.10.2.
Important:
- If you don't then it may not work depending on the version of BP you are using. By escaping it first you ensure the browser will encode the URL appropriately once you write it to the address bar.
Hope this helps!
------------------------------Chris Johns
Professional ServicesBlue Prism------------------------------------------------------------
Christopher Johns
Blue Prism
------------------------------