In a case I have open with Blue Prism, this fix was proposed:
There is a feature within Edge (introduced in version 88) called 'Startup Boost' which keeps the browser running in the background from login until Edge is launched.
This feature has been seen to cause issues with both spying and launching the Edge and Chrome browsers, so you may see the 'Browser not detected' exception when this feature is enabled. Our Blue Prism Development team is currently investigating this issue under development reference BP-8349, to see if there is a way we can influence this behaviour from within Blue Prism. In the meantime, our recommendation is to ensure that Startup Boost is disabled on any machines where automations interact with the Chrome or Edge browsers. To do this, open Edge and browse to edge://settings/system, and ensure that the 'Startup boost' option is unchecked.
So far, this did not fix my issue but I have done the following and gotten the Launch and Blue Prism Extension to work over and over today:
- Pause after Launch for 5 seconds
- Call the Attach page after the Launch + Post Launch Delay pause -- usually Blue Prism was not attached after the launch stage and Blue Prism needed to be attached. The Attach page in my case is a page with a check to see of Blue Prism is attached and if not, call the attach operation.
- Added a Wait stage check for a UIA element on the initial page that is launched (i.e. Login page) and if that element is not found after the Launch (reaches the timeout), call the Attach page one more time before throwing an exception (wait check for the UIA element again after the additional attach call and if works, continue, else throw an exception).
- Pausing 5 seconds after a close of the browser or before the next launch call following the close of the browser
I guess the steps above may not be 100% efficient but it got things to work and RPA is not really performance testing, thus, a loss of 30 seconds or so is acceptable if it gets things to work. I will continue with this method and see if it allows things to work better for all our browser applications.
------------------------------
Brenton Westwood
Systems Analyst
Southern Company
------------------------------