- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 8.6k
 
Closed as not planned
Labels
C-dotnet.NET Bindings.NET BindingsC-javaJava BindingsJava BindingsC-nodejsJavaScript BindingsJavaScript BindingsC-pyPython BindingsPython BindingsC-rbRuby BindingsRuby BindingsI-enhancementSomething could be betterSomething could be better
Milestone
Description
Dependencies
- Python: [py] implement configurable configuration class for the http clientΒ #13286 (partial)
 - Java:
 - Ruby:
 - JS:
 - .NET:
 
Feature and motivation
There are a number of things that users may want to adjust (Proxies, Read Timeouts, Connection Timeouts, Redirect attempts, etc). Right now not all languages allow doing this. This issue is to identify the requirements for a client config and its implementation.
Right now I think only Java (and kind of Ruby) has this concept, and supports a limited number of things. Implementing this in C# would improve the constructors considerably.
Things that can go in here:
- Base uri
 - connection / open timeout
 - read timeout
 - proxy / credentials
 - Keep alive
 - Max Redirects
 - Certificates
 - Filters (Java has this and I'm not sure what it is)
 
Usage example
proxy = "http://http_proxy.com:8080"
config = ClientConfig(keep_alive=False, proxy=proxy)
driver = webdriver.ChromeDriver(client_config=config)
mbonino
Metadata
Metadata
Assignees
Labels
C-dotnet.NET Bindings.NET BindingsC-javaJava BindingsJava BindingsC-nodejsJavaScript BindingsJavaScript BindingsC-pyPython BindingsPython BindingsC-rbRuby BindingsRuby BindingsI-enhancementSomething could be betterSomething could be better