Table of Contents

Enum PrefersContrastMediaFeatureValue

Namespace
WebDriverBiDi.Emulation
Assembly
WebDriverBiDi.dll

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

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

Fields

Custom = 3

The "custom" value for the "prefers-contrast" CSS media feature.

Less = 2

The "less" value for the "prefers-contrast" CSS media feature.

More = 1

The "more" value for the "prefers-contrast" CSS media feature.

[StringEnumValue("no-preference")] NoPreference = 0

The "no-preference" value for the "prefers-contrast" CSS media feature.

Reset = 4

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