Robotic Process Automation (RPA)

 View Only
  • 1.  Issue with Chrome updates

    IBM Champion
    Posted Sat June 15, 2024 08:10 AM

    Hi,

    We are having issues with Chrome updates. It's not the first time we are facing this issue and I am looking at the best practice to handle Chrome Updates with IBM RPA.

    We have a bot that has been working for a while now. This morning, we receive the following error message:

    Script execution failed with error message System.Exception: Fail to start Chrome navigator ---> System.InvalidOperationException: session not created: This version of ChromeDriver only supports Chrome version 124 Current browser version is 126.0.6478.62 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated)

    As far as I know, there is no way to prevent Chrome from updating. How can we make sure that RPA doesn't fail in production with such error?

    Thanks!



    ------------------------------
    Alexandre Lanoue
    SIA Innovations Inc.
    ------------------------------


  • 2.  RE: Issue with Chrome updates
    Best Answer

    IBM Champion
    Posted Mon June 17, 2024 09:55 AM

    Hi @Alexandre Lanoue,

    From what I've seen in the past, IBM RPA automatically updates the webdriver binaries during runtime whenever Chrome updates. Since you have already faced this issue in the same system, I suggest you double-check the network requirements and also check the logs to see if there is any extra information regarding what failed during the update of the ChromeDriver (and if it even tried to update).

    Also, although I have not seen it in the documentation, it might be a good idea to whitelist the domain https://storage.googleapis.com since the source of newer webdrivers is https://googlechromelabs.github.io/chrome-for-testing/ unless IBM RPA mirrors the files elsewhere and download it from their own servers.



    ------------------------------
    Vinicius Marques
    ------------------------------