Split Locator.java into smaller files

オープン
#277 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

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

@Omartarek876 がすでに取り組んでいます。

2026年11月22日 から。

評価

この issue はまだ評価されていません。

説明

help wanted

Follow-up to #251: Locator.java is 1,234 lines, and LocatorTest.java is 875. Splitting it makes reviews and contributions easier.

Rules (same as the HtmlReportGenerator split):

  • Comment here with your proposed file breakdown first, so we agree on the shape before any code moves.
  • One PR against master, no long-lived branch.
  • Behaviour-neutral: Locator is public API (@SeleniumBootApi), so every public method keeps its signature and package. Move internals into package-private helpers; don't rename or remove public methods.
  • No new abstractions or dependencies.

Likely seams: actions (click/fill/…), state and waits, queries and assertions, and the JavaScript snippets near the bottom of the file.

Done when: Locator.java is noticeably smaller, the public API is unchanged, LocatorTest passes unchanged (or split to match), and mvn clean verify passes.

主要言語
Java
スター
12
フォーク
6
平均マージ
8時間 58分
マージ済み PR(30日)
63

環境構築

はじめの一歩

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

seleniumboot/selenium-boot のほかの issue

seleniumboot/selenium-boot の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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