Lupa API Reference / commands/types / Media
Interface: Media
Defined in: src/commands/types.ts:19
Type representing emulateMedia command payload.
Properties
colorScheme?
optionalcolorScheme?:"light"|"dark"|"no-preference"
Defined in: src/commands/types.ts:23
Color scheme of the media.
forcedColors?
optionalforcedColors?:"none"|"active"
Defined in: src/commands/types.ts:38
Forced colors of the media.
media?
optionalmedia?:"print"|"screen"
Defined in: src/commands/types.ts:33
Media type.
reducedMotion?
optionalreducedMotion?:"reduce"|"no-preference"
Defined in: src/commands/types.ts:28
Reduced motion of the media.