Split Locator.java into smaller files

Aperta
#277 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Omartarek876 ci sta già lavorando.

Dal 22/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Java
Stelle
12
Fork
6
Merge medio
8h 58m
PR unite (30g)
63

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di seleniumboot/selenium-boot

Tutte le issue di seleniumboot/selenium-boot

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.