Home > Net >  When refreshing the page Selenium.WebdriverTimeoutException : Timeout receiving message from rendere
When refreshing the page Selenium.WebdriverTimeoutException : Timeout receiving message from rendere

Time:07-21

I am running my automation in VM and Chrome version gets automatically updated. Now my VM chrome version is 103.0.5060.114(64-bit).

However, my Selenium chrome driver version is 103.0.5060.5300 which is the latest one in Nuget. Problem is I can't downgrade chrome browser. I use driver.navigate().refresh() method which was working fine a month ago.

Recently I tried different ways of refreshing and added disabling gpu still having the issue. Not sure if Chrome and/or Selenium is aware of that.

Any suggestions?

CodePudding user response:

Chrome Version 103.0.5060.114 is the most updated version and well supported by ChromeDriver 103.0.5060.53 (2022-06-22). So all seems well from configuration per se.

As per the ChromeDriver 103.0.5060.53 (2022-06-22) release notes:

Supports Chrome version 103

CodePudding user response:

I downgraded Chrome on Ubuntu like so:

  • 1st — uninstall the current Chrome via: sudo apt remove google-chrome-stable
  • 2nd — install the deb binary file of the chrome that you want to have:

E.g.

 wget "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_{VERSION}_amd64.deb"
 sudo apt install ./google-chrome-stable_{VERSION}_amd64.deb

Particularly, what I entered into the command line to downgrade:

sudo apt remove google-chrome-stable
wget "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_103.0.5060.53-1_amd64.deb"
sudo apt install ./google-chrome-stable_103.0.5060.53-1_amd64.deb

If you are using some other system, I assume the approach would be the same. I hope that would help you!

  • Related