Table of Contents

Class EnableCommandSettings

Namespace
OpenQA.Selenium.DevTools.V146.Fetch
Assembly
Selenium.WebDriver.dll

Enables issuing of requestPaused events. A request will be paused until client calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.

public sealed class EnableCommandSettings : ICommand
Inheritance
EnableCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

HandleAuthRequests

If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth.

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

Property Value

bool?

Patterns

If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until clients response. If not set, all requests will be affected.

[JsonPropertyName("patterns")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RequestPattern[]? Patterns { get; set; }

Property Value

RequestPattern[]