Table of Contents

Class SetAdBlockingEnabledCommandSettings

Namespace
OpenQA.Selenium.DevTools.V147.Page
Assembly
Selenium.WebDriver.dll

Enable Chrome's experimental ad filter on all sites.

public sealed class SetAdBlockingEnabledCommandSettings : ICommand
Inheritance
SetAdBlockingEnabledCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Enabled

Whether to block ads.

[JsonPropertyName("enabled")]
public bool Enabled { get; set; }

Property Value

bool