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

Open
#17,121 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
csharp
Domain
networking

Research direction

Start by locating where each WebDriver creates its HttpMessageHandler and review the existing workaround for remote providers such as Grid or BrowserStack. The work is done when callers can provide and potentially reuse a handler while its lifecycle is managed clearly for local and remote WebDriver sessions.

Written by the indexing model from the issue text.

Description

A-needs-triaging C-dotnet I-enhancement
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.

Dominant language
Java
Stars
34.6k
Forks
8.7k
Avg merge
1d 16h
Merged PRs (30d)
107

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SeleniumHQ/selenium

All issues in SeleniumHQ/selenium

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.