Skip to content

[🐛 Bug]: How to use proxy with --selenium-manager flag? #12908

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

Closed
raja-anbazhagan opened this issue Oct 9, 2023 · 5 comments
Closed

[🐛 Bug]: How to use proxy with --selenium-manager flag? #12908

raja-anbazhagan opened this issue Oct 9, 2023 · 5 comments
Labels
A-needs-triaging A Selenium member will evaluate this soon! I-defect Something is not working as intended

Comments

@raja-anbazhagan
Copy link

What happened?

I'm setting up automatic driver download for Selenium nodes. However, our firewalls only allow internet access through proxy. Is there a way to set the proxy settings for the nodes to use?

How can we reproduce the issue?

Try using a selenium node to access the internet through a http proxy server behind a corporate firewall.

Relevant log output

URLs like https://googlechromelabs.github.io/chrome-for-testing/known-good-versions.json are not accessible as we cannot specify proxy settings anywhere

Operating System

Windows 10

Selenium version

Java 17 with selenium 3. But it doesn;t matter for this issue.

What are the browser(s) and version(s) where you see this issue?

Chrome 117

What are the browser driver(s) and version(s) where you see this issue?

all

Are you using Selenium Grid?

Selenium 4.13

@raja-anbazhagan raja-anbazhagan added I-defect Something is not working as intended A-needs-triaging A Selenium member will evaluate this soon! labels Oct 9, 2023
@github-actions
Copy link

github-actions bot commented Oct 9, 2023

@raja-anbazhagan, 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!

@titusfortner
Copy link
Member

How are you specifying the proxy for your browser tests? Selenium Manager is using the same proxy as the proxy value in the options class.

@raja-anbazhagan
Copy link
Author

@titusfortner , this is not related to proxy set-up for tests.

The issue is mainly for nodes to download chromedrivers from internet when --selenium-manager flag was enabled. At this point I have not even setup a single node. So no scripts have run yet.

@titusfortner
Copy link
Member

ah, right, the flag is in the command line list here — https://www.selenium.dev/documentation/selenium_manager/#configuration

Copy link

github-actions bot commented Dec 3, 2023

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 Dec 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-needs-triaging A Selenium member will evaluate this soon! I-defect Something is not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants