Skip to content

[πŸš€ Feature]: HTTP Client ConfigurationsΒ #12268

@titusfortner

Description

@titusfortner

Dependencies

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)

Metadata

Metadata

Assignees

Labels

C-dotnet.NET BindingsC-javaJava BindingsC-nodejsJavaScript BindingsC-pyPython BindingsC-rbRuby BindingsI-enhancementSomething could be better

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions