Skip to main content
Question

Browser Automation - Error after Chrome Upgrade to 138 version

  • July 8, 2025
  • 4 replies
  • 497 views

Forum|alt.badge.img+9

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

Forum|alt.badge.img+8
  • 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


Forum|alt.badge.img+9
  • Author
  • 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
Forum|alt.badge.img+14
  • 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?


Forum|alt.badge.img+9
  • Author
  • Navigator | Tier 3
  • July 8, 2025

Hello Aaron , It is about the chromedriver version138