SeleniumHQ / SeleniumHQ/selenium
[🚀 Feature]: [dotnet] Local driver HTTP communication inherits OS system proxy
- Dominant language
- Java
- Stars
- 34.5k
- Forks
- 8.7k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 92
Description
### Description
If the machine running Selenium is configured with a system proxy, and for some reason the proxy isn't bypassed for localhost, then the DriverService is unable to connect to the ChromeDriver because it uses the default HttpClient.
I want to be able to set the proxy (or the HttpClientHandler) in the DriverService's HttpClient, so that we can bypass the system proxy.
Edit for clarification: I'm using C#.
### Have you considered any alternatives or workarounds?
A possible workaround is to set HttpClient.DefaultProxy, but this might cause a problem if other parts of the code rely on the system proxy settings.
Contributor guide
Assessment
This issue has not been assessed yet.