Table of Contents

Class SetInterceptFileChooserDialogCommandSettings

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

Intercept file chooser requests and transfer control to protocol clients. When file chooser interception is enabled, native file chooser dialog is not shown. Instead, a protocol event Page.fileChooserOpened is emitted.

public sealed class SetInterceptFileChooserDialogCommandSettings : ICommand
Inheritance
SetInterceptFileChooserDialogCommandSettings
Implements
Inherited Members

Properties

Cancel

If true, cancels the dialog by emitting relevant events (if any) in addition to not showing it if the interception is enabled (default: false).

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

Property Value

bool?

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Enabled

Gets or sets the enabled

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

Property Value

bool