Search code examples
pythonselenium-webdriverselenium-chromedriverappiumrobotframework

Selenium, Robotframework - Error: WebDriverException: Message: unknown error: net::ERR_NAME_NOT_RESOLVED


I am using robotframework framework, using selenium and appium. Recently I have been seing issues with chrome, I updated my chrome driver to 118v to match it with the current chrome version I am using. However, I still see the issue.

Exception trying to discover chromedriver version: error sending request for url (https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json): error trying to connect: dns error: No such host is known. (os error 11001)

WebDriverException: Message: unknown error: net::ERR_NAME_NOT_RESOLVED
  (Session info: chrome=118.0.5993.71)

I was using selenium==4.11.2, however, I read somewhere that versions above 4.10 could cause problem, so I downgraded to selenium==4.10.0.

Please let me know if you need any information to resolve this issue.

Thank you

Help to fix this error on my code


Solution

  • Chrome DevTools is supported now: v116, v117, and v118. Update your selenium version to 4.14, see the release notes.