grafana/k6

Move Sobek option parsing to the mapping layer

Open

#5.305 geöffnet am 14. Okt. 2025

Auf GitHub ansehen
 (28 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Go (1.537 Forks)batch import
area: browsergood first issuerefactor

Repository-Metriken

Stars
 (30.564 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11T 15h) (47 gemergte PRs in 30 T)

Beschreibung

What

  • Move Sobek option parsing to the mapping layer.

Why

  • Separation of concerns.
  • Option parsing is only required by the mapping layer.
  • To simplify and make the code and tests easy to reason about.

Current options to move

  • Frame options
  • ElementHandleBaseOptions
  • PageReloadOptions
  • PageScreenshotOptions
  • Locator options
  • Size.Parse
  • #5687
  • #5302
  • #5560

Example

  • In this code, the parsing happens in the mapping layer.

Related

  • This issue is a continuation of the epic issue #4219.

Contributor Guide