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?
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.
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.
- 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.
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
- Can’t find Python executable “python”, you can set the PYTHON env variable
- selenium.common.exceptions.WebDriverException: Message: ‘geckodriver’ executable needs to be in PATH
- Error: This command is not available when running the Angular CLI outside a workspace
- TypeError: cli.isMultipleCompiler is not a function
- Cannot resolve No versions available for org.osgi.service:org.osgi.service.prefs:jar:[1.1.0,1.2.0) within specified range