Table of Contents

Class TimelineEvent

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

TimelineEvent

public sealed class TimelineEvent
Inheritance
TimelineEvent
Inherited Members

Properties

Duration

Event duration, if applicable.

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

Property Value

double?

FrameId

Identifies the frame that this event is related to. Empty for non-frame targets.

[JsonPropertyName("frameId")]
public string FrameId { get; set; }

Property Value

string

LayoutShiftDetails

layoutShiftDetails

[JsonPropertyName("layoutShiftDetails")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public LayoutShift? LayoutShiftDetails { get; set; }

Property Value

LayoutShift

LcpDetails

lcpDetails

[JsonPropertyName("lcpDetails")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public LargestContentfulPaint? LcpDetails { get; set; }

Property Value

LargestContentfulPaint

Name

Name may be empty depending on the type.

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string

Time

Time in seconds since Epoch, monotonically increasing within document lifetime.

[JsonPropertyName("time")]
public double Time { get; set; }

Property Value

double

Type

The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional "details" fields is present.

[JsonPropertyName("type")]
public string Type { get; set; }

Property Value

string