Closed lbhavani9 closed 1 year ago
@lbhavani9, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
Your original example looks like it as resolving chrome
through a compose default/bridge network as a service name- has that changed? Can you share more info for the docker network? You're example is also pointing at :44444
(one too many) but that's likely a typo as the output below port-wise is correct. Don't think its a selenium issue, looks like a docker specific configuration/issue, Please share more context around that and i'll assist you debug
Hi Symonk, Docker team confirmed that its Selenium issue and they have shared this git repo to raise concern. Actually we used to connect to Selenium Driver using driver = webdriver.Remote(command_executor="http://chrome/wd/hub", desired_capabilities=capabilities) but team has asked me to use either local IP address or server where standalone chrome:latest docker image is running. Our local address is http://127.0.0.1:4444 and the Selenium standalone Chrome is up and running on http://172.17.0.2:4444. Tried with both of them but none of them is allowing to connect to webdriver.
Our Docker-compose.yml file contains 👍
version: "3.7" networks: app-network: name: "app-network" services: chrome: image:artifactory-dockerhub.cloud.capitalone.com:443/selenium.standalone-chrome:latest environment:
Dockerfile:
FROM artifactory.cloud.capitalone.com/cof-approved-images/python3.9-ubuntu20.04-231301 LABEL Maintainer='ECE platform' ENV PIP_INDEX_URL https://artifactory.cloud.capitaone.com/artifactory/api/pypi/pypi-internalfacing/simple RUN pip3 install 'selenium== 4.8.2' COPY portal_steps_implementation.py /tests/ WORKDOR /tests/
Earlier we have used selenium 3.141.0 and Chrome artifactory dockerhub image :selenium/standalone-chrome:3.8.1. As the acceptance tests are failing login into the application we have updated the selenium version to 4.8.2 as suggested by Docker team and pulled the selenium/standalone-chrome:latest . Please let us know if you are not proceeding in correct way
Please double check that you have upgraded your tests to use Selenium 4 properly, https://www.selenium.dev/documentation/webdriver/getting_started/upgrade_to_selenium_4/.
Then make sure you are using the most recent Grid 4 containers, and note that Grid 4 has different parameters and environment variables.
I'd recommend you to ask the specific questions of your upgrade process either in our chat or in any of the links I will leave below.
💬 Please ask questions at:
@diemol any resolution here? I'm getting the same issue as above. using grid 3, don't have any issue but using grid 4. it throws error:
Max retries exceeded with url: /wd/hub/session
Not sure what your context is. Please use the links above to ask questions or join the chat.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
What happened?
Initially our Portal application has Standalone-chrome version 3.8.1 and selenium with versions 3.141.0 installed .The driver statement driver = webdriver.Remote(command_executor="http://chrome:4444/wd/hub",desired_capabilities=capabilites) used to connect to Selenium webdriver worked earlier as expected and the acceptance tests used to pass. All of sudden the acceptance tests are failing and we have identified that Selenium webdriver is not working as expected. Now we have changed our application to use Selenium latest version 4.8.2 , Standalone-chrome: latest . We have tried to change the driver connection statement driver = webdriver.Remote(command_executor="http://127.0.0,1:4444/wd/hub", desired_capabilities=capabilities) which is our local host and also tried with Chrome standalone IP address which docker container is pointing driver to "http://172.17.0.2:4444/wd/hub" but none of them are working.We are using python 3.9-ubuntu20.04-230331 version for our Portal application in our Dockerfile. Can anyone help us understand the issue
How can we reproduce the issue?
Relevant log output
Operating System
MAC OS version 12.6.3
Selenium version
python 3.9
What are the browser(s) and version(s) where you see this issue?
Chrome 111.0
What are the browser driver(s) and version(s) where you see this issue?
Chromedriver
Are you using Selenium Grid?
No response