[📋 ADR]: BiDi implementation boundaries (#17670)

オープン
#17,814 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp, java, javascript, python, ruby

調査の方向性

まず docs/decisions/17670-bidi-implementation-boundaries.md を読み、特にその「Current behavior」表と適合要件を確認します。次に、この issue で挙げられている binding API を調べます: HasBiDi.getBiDi()、driver.network、driver.script、driver.bidi、AsBiDiAsync()、driver.getBidi()。対象となるサーフェスが非推奨または内部化され、各 binding が Beta を内部規約として使用せずにこの決定に準拠すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Decision record

docs/decisions/17670-bidi-implementation-boundaries.md (#17670)

Binding implementation

Each binding currently exposes the BiDi implementation off the driver and fails conformance;
bringing it in line is a deprecation-policy change, not a straight removal.

  • Java — #17745, #17751
  • Python — #17761 (internal layer generated); #18051 (open) moves driver.network to a neutral wrapper. driver.script and driver.browsing_context still return the bidi modules.
  • Ruby — PR
  • .NET — PR
  • JavaScript — #17926
Notes

Scope per binding (from the record's "Current behavior" table — what conformance requires):

Binding Non-conforming today Convergence target
Java Driver exposes the raw BiDi connection (HasBiDi.getBiDi()); protocol types are public Deprecate HasBiDi.getBiDi(), mark protocol types internal, reach the low-level layer only by composing it with the driver
Python driver.network / driver.script return the low-level bidi-namespaced modules Return protocol-neutral wrappers from driver.network / driver.script; mark the bidi modules internal
Ruby Driver exposes a BiDi accessor (driver.bidi) Deprecate driver.bidi; expose the low-level layer only via composition (BiDi::Protocol::Network.new(driver))
.NET Driver extension returns a BiDi type (AsBiDiAsync() → IBiDi) Internalize the BiDi type; reach it by composition, not off the driver
JavaScript Driver exposes a BiDi accessor (driver.getBidi()) Deprecate driver.getBidi(); expose the low-level layer only via composition

Marking a surface Beta does not satisfy decision 2 — Beta signals an API becoming supported,
the opposite of internal — so Beta is not an acceptable "internal" convention in review.

Related, tracked separately: all bindings expose a BiDi-named enable option (enableBiDi /
enable_bidi) that the record notes should become protocol-neutral. This overlaps the open
enable_sockets naming discussion, so it is deliberately not checklisted here — it belongs to
whichever record settles that naming.


Generated by Claude Code

主要言語
Java
スター
34.6k
フォーク
8.7k
平均マージ
1日 16時間
マージ済み PR(30日)
107

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SeleniumHQ/selenium のほかの issue

SeleniumHQ/selenium の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。