Skip to content

RecordingLocalize

RecordingLocalize = object

Defined in: builder.ts:59

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. Adding a language in the web editor codegens it into this video.languages([...]) block, so it is code again by the next record.

optional browserLocale?: boolean

Defined in: builder.ts:64


optional languages?: readonly Lang[]

Defined in: builder.ts:61

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


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

Defined in: builder.ts:63


optional mode?: LocalizeMode

Defined in: builder.ts:62