SeleniumHQ / SeleniumHQ/selenium

[🚀 Feature]: Any WebDriver may accept user-provided HttpMessageHandler

Open
#17,121 4 comments 0 reactions 0 assignees View on GitHub
A-needs-triaging C-dotnet I-enhancement
Dominant language
Java
Stars
34.5k
Forks
8.7k
Avg merge
2d 1h
Merged PRs (30d)
92

Description

### Description

Explaining shortly: each webdriver creates own HttpMessageHandler (represents OS network connection). It's OK for local chromedriver which starts always on new port (different story). But it is not OK when I execute hundreds of tests (webdrivers) for remote service provider (grid, browserstack..)

Revisit how to manage lifecycle of HttpMessageHandler and how configure them to be potentially reused.

### Have you considered any alternatives or workarounds?

There is workaround, but it not so easy to use. Probably it is right "workaround", anyway, let explore how to improve.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.