yesterday - last edited yesterday
Hey guys!
I'm currently testing a process in runtime (BP version 6.10.2) that opens a website in Microsoft Edge, accesses our ERP system, returns to our website, and navigates to another page.
The issue arises when the process tries to attach to the website after the ERP system. At this point, the machine disconnects unexpectedly. (Example below, I was checking the process running on machine CANWBPAAV04D)
I already tried mapping elements using Web mode (stopped working after a few tries even in debug), UI mode, Region mode, and even through TABs count, which is risky (I know). Everything seems to be fine, because other processes run OK, but it seems that Edge is an issue, even though I switched FROM Chrome because I was having trouble mapping. The disconnection consistently occurs during navigation steps, and there are no apparent issues with the machine or its connection.
We’re currently blocked and would appreciate any assistance or guidance to resolve this. Thank you!
yesterday
This usually happens when either there is a code issue or machine memory concern. Maybe check the RAM if you are on prem or the equivalent for cloud. Try to increase the machine memory and see how it goes.
an hour ago
Hi @mariabarros
As @grbanares mentioned correctly this might happen due to machine memory issue, you can also check if it is happening due to any of the below reasons,
Reason 1: Verify if the Edge version, WebDriver version, and Blue Prism browser extension version all match.
For example: If Edge version is v127.0.6533.72, your EdgeDriver must be exactly of that version.
Also, ensure the Blue Prism Browser Automation Agent service is running and not being killed by group policy or antivirus or is not blocked by firewall.
Note:- You can test stability by running a short process that only launches Edge, attaches, and navigates multiple times. If the machine disconnects even in this loop, the WebDriver handshake is likely failing.
Reason 2: Blue Prism’s Attach and Detach operations with modern browsers are session-sensitive.
For Example if you are trying to perform below operation
Step 1 - Launches a website (Edge instance 1)
Step 2 - Switches to ERP (possibly a different session)
Step 3 - Returns to the website (Edge instance 2 or a refreshed tab)
it might actually be dealing with a new browser process ID, breaking the link.
Try to use “Browser Mode – Attach by Title” instead of Process ID.
After navigating to the ERP system and returning, explicitly “Detach” and “Re-Attach” to the new browser window.
Add a wait stage before reattaching (1–2 seconds) to allow Blue Prism to detect the new DOM properly.
Note:- You can identify browser processes with tasklist /v | find "msedge" to verify whether Edge is creating new instances during navigation.
Best Regards,
Sayeed Bin Abdullah