close

[Solved] selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status

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 in Python. We are going to Learn about All Possible Solutions So Lets Get Start with This Article.

How selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status Error Occurs?

I am trying to execute my selenium script to test one webpage I am just Using driver.get

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

So here I am writing all the possible solutions that I have tried to resolve this error.

How To Solve selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status Error?

  1. How To Solve selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status Error?

    To Solve selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status Error This error Usually Occurs whenever versions compatibility with each other So I would recommend you Update everything. First of All, Update Your ChromeDriver to the Latest version Which is ChromeDriver 104.0.5112.20 You also need to update Your Chrome Browser. Then Update Selenium to the Latest version which is 4.3.0. If You are using selenium-wire then update it to 4.6.4. And Now, Try to re-run your Python Script. And It will execute without any error. Now, your error must be solved. Thank You.

  2. selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status

    To Solve selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status Error This error Usually Occurs whenever versions compatibility with each other So I would recommend you Update everything. First of All, Update Your ChromeDriver to the Latest version Which is ChromeDriver 104.0.5112.20 You also need to update Your Chrome Browser. Then Update Selenium to the Latest version which is 4.3.0. If You are using selenium-wire then update it to 4.6.4. And Now, Try to re-run your Python Script. And It will execute without any error. Now, your error must be solved. Thank You.

Solution 1: Update everything

This error Usually Occurs whenever versions compatibility with each other So I would recommend you Update everything.

  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.
  7. Now, your error must be solved. Thank You.

Conclusion

It’s all About this error. Hope We solved Your error. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Leave a Comment