Table of Contents

Class EnableCommandSettings

Namespace
OpenQA.Selenium.DevTools.V143.Network
Assembly
WebDriver.dll

Enables network tracking, network events will now be delivered to the client.

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

EnableDurableMessages

Enable storing response bodies outside of renderer, so that these survive a cross-process navigation. Requires maxTotalBufferSize to be set. Currently defaults to false.

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

Property Value

bool?

MaxPostDataSize

Longest post body size (in bytes) that would be included in requestWillBeSent notification

[JsonPropertyName("maxPostDataSize")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? MaxPostDataSize { get; set; }

Property Value

long?

MaxResourceBufferSize

Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).

[JsonPropertyName("maxResourceBufferSize")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? MaxResourceBufferSize { get; set; }

Property Value

long?

MaxTotalBufferSize

Buffer size in bytes to use when preserving network payloads (XHRs, etc).

[JsonPropertyName("maxTotalBufferSize")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? MaxTotalBufferSize { get; set; }

Property Value

long?

ReportDirectSocketTraffic

Whether DirectSocket chunk send/receive events should be reported.

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

Property Value

bool?