Skip to content

RecordingLocalize

RecordingLocalize = object

Defined in: builder.ts:58

Recording-level localization config, declared via video.languages(...). It drives the registration-time fan-out (one Playwright test per language), so it lives on a builder method rather than in recordOptions (a run-time option).

Code is the single source of truth: the recorded set is the union of the code seed (video.languages(['en', 'fi'])) and the per-feature language keys, then restricted by the --languages filter. A language is added by putting it in this video.languages([...]) block, so the set is always code-defined.

optional browserLocale?: boolean

Defined in: builder.ts:63


optional languages?: readonly Lang[]

Defined in: builder.ts:60

Explicit code seed from video.languages(['en', ...]), if any.


optional locales?: Partial<Record<Lang, string>>

Defined in: builder.ts:62


optional mode?: LocalizeMode

Defined in: builder.ts:61