WebMedia
Namespace: E2E.Engine
public sealed record WebMedia : IEquatable<WebMedia>User preferences a page reads through @media rules and matchMedia, as Playwright’s
emulateMedia sets them. A feature left <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> keeps the browser’s own value,
or the one an earlier call set.
Inheritance: object
Implements: IEquatable<WebMedia>
Properties
Section titled “Properties”ColorScheme
Section titled “ColorScheme”public WebColorScheme? ColorScheme { get; init; }prefers-color-scheme.
Value: WebColorScheme?
ReducedMotion
Section titled “ReducedMotion”public WebReducedMotion? ReducedMotion { get; init; }prefers-reduced-motion.
Value: WebReducedMotion?