Table of Contents

Class StartCommandSettings

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

Start trace events collection.

public sealed class StartCommandSettings : ICommand
Inheritance
StartCommandSettings
Implements
Inherited Members

Properties

BufferUsageReportingInterval

If set, the agent will issue bufferUsage events at this interval, specified in milliseconds

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

Property Value

double?

Categories

Category/tag filter

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

Property Value

string

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Options

Tracing options

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

Property Value

string

PerfettoConfig

Base64-encoded serialized perfetto.protos.TraceConfig protobuf message When specified, the parameters categories, options, traceConfig are ignored.

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

Property Value

string

StreamCompression

Compression format to use. This only applies when using ReturnAsStream transfer mode (defaults to none)

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

Property Value

StreamCompression?

StreamFormat

Trace data format to use. This only applies when using ReturnAsStream transfer mode (defaults to json).

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

Property Value

StreamFormat?

TraceConfig

Gets or sets the traceConfig

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

Property Value

TraceConfig

TracingBackend

Backend type (defaults to auto)

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

Property Value

TracingBackend?

TransferMode

Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents).

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

Property Value

string