Table of Contents

Class TraceConfig

Namespace
Selenium.WebDriver.BiDi.Cdp.Tracing
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Configuration for memory dump. Used only when "memory-infra" category is enabled.

public sealed record TraceConfig : IEquatable<TraceConfig>
Inheritance
TraceConfig
Implements
Inherited Members

Constructors

TraceConfig()

Configuration for memory dump. Used only when "memory-infra" category is enabled.

public TraceConfig()

Properties

EnableArgumentFilter

Turns on argument filter.

public bool? EnableArgumentFilter { get; init; }

Property Value

bool?

EnableSampling

Turns on JavaScript stack sampling.

public bool? EnableSampling { get; init; }

Property Value

bool?

EnableSystrace

Turns on system tracing.

public bool? EnableSystrace { get; init; }

Property Value

bool?

ExcludedCategories

Excluded category filters.

public ImmutableArray<string>? ExcludedCategories { get; init; }

Property Value

ImmutableArray<string>?

IncludedCategories

Included category filters.

public ImmutableArray<string>? IncludedCategories { get; init; }

Property Value

ImmutableArray<string>?

MemoryDumpConfig

Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.

public IReadOnlyDictionary<string, string>? MemoryDumpConfig { get; init; }

Property Value

IReadOnlyDictionary<string, string>

RecordMode

Controls how the trace buffer stores data. The default is recordUntilFull.

public string? RecordMode { get; init; }

Property Value

string

SyntheticDelays

Configuration to synthesize the delays in tracing.

public ImmutableArray<string>? SyntheticDelays { get; init; }

Property Value

ImmutableArray<string>?

TraceBufferSizeInKb

Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value of 200 MB would be used.

public double? TraceBufferSizeInKb { get; init; }

Property Value

double?