Table of Contents

Class SetAutoDarkModeOverrideCommandSettings

Namespace
OpenQA.Selenium.DevTools.V148.Emulation
Assembly
Selenium.WebDriver.dll

Automatically render all web contents using a dark theme.

public sealed class SetAutoDarkModeOverrideCommandSettings : ICommand
Inheritance
SetAutoDarkModeOverrideCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Enabled

Whether to enable or disable automatic dark mode. If not specified, any existing override will be cleared.

[JsonPropertyName("enabled")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Enabled { get; set; }

Property Value

bool?