Skip to main content
Navigator | Tier 3
July 8, 2025
Question

Browser Automation - Error after Chrome Upgrade to 138 version

  • July 8, 2025
  • 4 replies
  • 633 views

Hello Hello, 

 Chrome has been upgraded to version 138 . It causes an error message when the bot try to start session using Browser Automation, it fails. When  I downgrade to  version 137 , it works again. Thank for your help

An unexpected error occurred. Could not start a new session. Response code 500. Message: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir 

 

@BotDev 

4 replies

Navigator | Tier 3
July 8, 2025

Issue is most probably with your setup and access, check if matching drivers are being downloaded or something is blocking that.

Working fine on my end. Try deleting this and rerunning:

C:\Users\UserName\.cache\selenium\chromedriver\

 

Try using the recent version: https://github.com/A360-Tools/Browser-Automation/releases

https://github.com/A360-Tools | https://botstore.automationanywhere.com/vendor/botdev
LnMamouAuthor
Navigator | Tier 3
July 8, 2025

The right chromedriver is downloaded automatically and I also use the recent version of Browser Automation but still have the issue. I see on different forum they arrive to others . 

Aaron.Gleason
Automation Anywhere Team
Automation Anywhere Team
July 8, 2025

@LnMamou I don’t see anything in the Chrome release notes that affects user sessions.

https://developer.chrome.com/release-notes/138

I’m wondering if an uninstall, a manual clean up of files Chrome left over, and reinstallation would help?

LnMamouAuthor
Navigator | Tier 3
July 8, 2025

Hello Aaron , It is about the chromedriver version138