New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃悰 Bug]: WebDriverError: unknown error: net::ERR_NAME_NOT_RESOLVED when running docker image for selenium/standalone chrome #2110
Comments
@zshigri23, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
I do not think |
No its never worked, i was just trying out different ways to make it work. Also to clarify, my command to run the docker is being used in the pipeline script. |
I just tested it to change the URL to google.com(with no proxy) and it opened that but not able to open company website. |
Can you try to configure the proxy at level Docker network? https://docs.docker.com/network/proxy/ |
are you talking about the ~/.docker/config.json set up? |
Yes |
Also, are your test script and selenium container running on the same machine?
Try to add |
What happened?
When trying to run selenium test case on jenkins using selenium stand alone chrome image, i get this error
WebDriverError: unknown error: net::ERR_NAME_NOT_RESOLVED
(Session info: chrome=120.0.6099.224)
at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:524:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:601:13)
at Executor.execute (node_modules/selenium-webdriver/lib/http.js:529:28)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async thenableWebDriverProxy.execute (node_modules/selenium-webdriver/lib/webdriver.js:745:17)
I'm using node js and a windows machine with a linux agent in jenkins.
I have specified the URL in code as well.
Command used to start Selenium Grid with Docker (or Kubernetes)
Relevant log output
Operating System
windows 11 but linux agent on jenkins
Docker Selenium version (image tag)
4.17
Selenium Grid chart version (chart version)
No response
The text was updated successfully, but these errors were encountered: