Table of Contents

Enum PrefersColorSchemeMediaFeatureValue

Namespace
WebDriverBiDi.Emulation
Assembly
WebDriverBiDi.dll

Provides values for the emulation of the "prefers-color-scheme" CSS media feature.

[JsonConverter(typeof(EnumValueJsonConverter<PrefersColorSchemeMediaFeatureValue>))]
[StringEnumNullSentinelValue<PrefersColorSchemeMediaFeatureValue>(PrefersColorSchemeMediaFeatureValue.Reset)]
public enum PrefersColorSchemeMediaFeatureValue

Fields

Dark = 1

The "dark" value for the "prefers-color-scheme" CSS media feature.

Light = 0

The "light" value for the "prefers-color-scheme" CSS media feature.

Reset = 2

A value to reset the emulation of the "prefers-color-scheme" CSS media feature.