EachVariant
EachVariant =
object
Defined in: builder.ts:35
One variant in a generic video.each(...) fan-out. Each variant produces a
separate video (its own identity and stored history), differing only in its
recording options and/or forwarded Playwright use options.
Properties
Section titled “Properties”key:
string
Defined in: builder.ts:37
Stable label appended to the video name, e.g. 'mobile' or 'dark'.
recordOptions?
Section titled “recordOptions?”
optionalrecordOptions?:Partial<RecordOptions>
Defined in: builder.ts:39
Recording options for this variant (merged over the video’s defaults).
optionaluse?:Record<string,unknown>
Defined in: builder.ts:41
Forwarded Playwright use options for this variant, e.g. { colorScheme: 'dark' }.