Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🚀 Feature]: Ability to update hosts file on browser nodes in dynamic selenium grid #1812

Closed
ravinice opened this issue Mar 19, 2023 · 5 comments · Fixed by SeleniumHQ/selenium#13804

Comments

@ravinice
Copy link

Feature and motivation

I would like the ability to add hosts file entry to the browser nodes that get launched in the dynamic grid.

It would be good if below config is supported on the docker-compose for node-docker section and the same can be used to launch new browser nodes.

extra_hosts:

  • "cust.examplecompany.com:10.8.23.76"

Usage example

We use selenium grid to test an internally hosted application which can be accessed using a custom dns entry in the hosts file where the browser is getting launched.

However, with dynamic selenium grid - I don't see an option to add this host file entry to the browser node.

@github-actions
Copy link

@ravinice, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

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!

@github-actions
Copy link

This issue is looking for contributors.

Please comment below or reach out to us through our IRC/Slack/Matrix channels if you are interested.

@deepakguna
Copy link

I am in need of this for the grid running in kubernetes cluster , deployed with HELM chart .This would be a nice addition .

Is the host aliases meant for it ?

hostAliases:
# - ip: "198.51.100.0"
# hostnames:
# - "example.com"
# - "example.net"
# - ip: "203.0.113.0"
# hostnames:
# - "example.org"

@diemol
Copy link
Member

diemol commented Sep 18, 2023

Dynamic Grid does not work in Kubernetes. Can you clarify the use case and environment?

Copy link

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.

@github-actions github-actions bot locked and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants