[šŸ› Bug]: BiDi WebSocket connections are established at different points across Selenium bindings

Open
#18,258 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
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active

Research direction

Read the issue’s comparison of BiDi connection timing across Java, Ruby, Python, JavaScript, and .NET bindings. Decide whether the lifecycle should be aligned and define the expected behavior for connection success and failure; the issue names no implementation files or tests.

Written by the indexing model from the issue text.

Description

A-needs-triaging I-defect
Description

Java: during session creation, when the returned capabilities include webSocketUrl.
Ruby: during session creation when BiDi is enabled.
Python: lazily, when a BiDi-backed feature is first accessed.
JavaScript: lazily, on first BiDi access.
.NET: explicitly via AsBiDiAsync().

Let’s discuss these differences and decide whether the connection lifecycle should be aligned across bindings.

Reproducible Code
var driver = new Chrome(with websocketurl enabled) // establish connection here? if not success then what?
driver.DoSomethingBiDiRequired() // or here?
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.