Table of Contents

Class TraceConfig

Namespace
OpenQA.Selenium.DevTools.V148.Tracing
Assembly
Selenium.WebDriver.dll

TraceConfig

public sealed class TraceConfig
Inheritance
TraceConfig
Inherited Members

Properties

EnableArgumentFilter

Turns on argument filter.

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

Property Value

bool?

EnableSampling

Turns on JavaScript stack sampling.

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

Property Value

bool?

EnableSystrace

Turns on system tracing.

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

Property Value

bool?

ExcludedCategories

Excluded category filters.

[JsonPropertyName("excludedCategories")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string[]? ExcludedCategories { get; set; }

Property Value

string[]

IncludedCategories

Included category filters.

[JsonPropertyName("includedCategories")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string[]? IncludedCategories { get; set; }

Property Value

string[]

MemoryDumpConfig

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

[JsonPropertyName("memoryDumpConfig")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public MemoryDumpConfig? MemoryDumpConfig { get; set; }

Property Value

MemoryDumpConfig

RecordMode

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

[JsonPropertyName("recordMode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public TraceConfigRecordModeValues? RecordMode { get; set; }

Property Value

TraceConfigRecordModeValues?

SyntheticDelays

Configuration to synthesize the delays in tracing.

[JsonPropertyName("syntheticDelays")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string[]? SyntheticDelays { get; set; }

Property Value

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.

[JsonPropertyName("traceBufferSizeInKb")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? TraceBufferSizeInKb { get; set; }

Property Value

double?