[Solved] selenium / seleniumwire unknown error: cannot determine loading status from unknown error: unexpected command response

Python Mohit Mozumder

Problem:

I am trying to execute my selenium script to test one webpage I am just Using driver.get just like driver.get(‘my-website.com’) But I am facing the following error:

selenium.common.exceptions.WebDriverException: Message: unknown error: 
cannot determine loading status from unknown error: unexpected command response
(Session info: chrome=103.0.5060.53)


Solution:
  1. First of All, Update Your ChromeDriver to the Latest version Which is ChromeDriver 104.0.5112.20
  2. You also need to update Your Chrome Browser.
  3. Then Update Selenium to the Latest version which is 4.3.0.
  4. If You are using selenium-wire then update it to 4.6.4.
  5. And Now, Try to re-run your Python Script.
  6. And It will execute without any error.
Note: Please Make Sure Your Chrome Browser and chromedriver both are on the same version.


Thank you for reading the article. If you face any further problem feel free to ask us.