Kindly up vote this as "Best Answer" if it adds value or resolves your query in anyway possible, happy to help.
Original Message:
Sent: 07-17-2023 16:44
From: Gavin Rudling
Subject: MS Edge driver
Thanks Mukesh, I will investigate this. I already have a version check in place. I want to use this check to trigger the download ov the driver executable file.
Once this is achieved, my next challenge that I am expecting is to place the file in the required folder. Here I have experienced that I cannot just overwrite the file with the latest one. I have to first kill all processes using the Edge browser, before it will let me delete and replace the old one. But I will get to this eventually. First prise is to download the new version.
Thank you once again for your valued support and advice.
Kind regards
Gavin
------------------------------
Gavin Rudling
Digital Consultant & Developer
Cog3nt
Africa/Johannesburg
0813906789
Original Message:
Sent: 07-17-2023 16:28
From: Mukesh Kumar
Subject: MS Edge driver
Hi @Gavin Rudling - Thanks for explaining the scenario again - I am sure the power shell script as shared above would be able to fetch the latest updated edge version - you can create an additional process to validate versions well before running your main process - fetch the current version of the edge browser - check the version of web driver as well and through decisions program bot to either download the latest web driver and place that in the right reference folder or send an email to your team to update the web driver - in either way which works best for your team to avoid straight failures due to these mismatch in the versions.
------------------------------
Kindly up vote this as "Best Answer" if it adds value or resolves your query in anyway possible, happy to help.
Regards,
Mukesh Kumar - Senior Automation Developer
NHS, England, United Kingdom, GB
Original Message:
Sent: 07-14-2023 15:10
From: Gavin Rudling
Subject: MS Edge driver
Hi Mukesh
Yes, The Microsoft Edge updates monthly, and we don't know when, exactly. So, when we pick this up that they differ, we find we have to go to the Microsoft driver webpage and manually download the latest version manually.
I think the current version is 114.???
We download the executable file from the site and paste into a folder accessible by the application calling it.

Kind regards
Gavin
Original Message:
Sent: 7/14/2023 9:49:00 AM
From: Mukesh Kumar
Subject: RE: MS Edge driver
Hi @Gavin Rudling : Just wanted to understand - when you say you detect the issue- is it because the browser updates itself to the latest version and the Webdriver version remains as the last version until you update it to most recent one manually !
if you need to read the latest version of your browser - I am considering Edge here : you can use the powershell script to retrieve the latest browser version and store that into a text file - which you can read through blue prism and validate a decision if your webdriver version is still same or needs an upgrade :
Script:
$versionInfo = (Get-Item "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe").VersionInfo
$versionInfo | Out-File "C:\Users\mukesh.kumar\Documents\My Folder\results.txt"
Results:

Outfile :

I also found an article which has got detailed solution to even update the webdrivers automatically via Power shell script which can then be run by blueprism - if this article helps :
https://swimburger.net/blog/powershell/download-the-right-chromedriver-on-windows-linux-macos-using-powershell
------------------------------
Kindly up vote this as "Best Answer" if it adds value or resolves your query in anyway possible, happy to help.
Regards,
Mukesh Kumar - Senior Automation Developer
NHS, England, United Kingdom, GB
Original Message:
Sent: 07-14-2023 12:57
From: Gavin Rudling
Subject: MS Edge driver
Good day Team
I have a process that requires the most recent MS Edge driver at run time.
This driver is updated quite regularly, (Monthly) but the process runs more often, meaning that every Month we have to download the edge driver manually, when we detect the issue. Can anyone assist? with this regard, Suggestions, Solutions?
Kind regards
Gavin
------------------------------
Gavin Rudling
Digital Consultant & Developer
Cog3nt
Africa/Johannesburg
0813906789
------------------------------