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
FrameId
Identifies the frame that this event is related to. Empty for non-frame targets.
[JsonPropertyName("frameId")]
public string FrameId { get; set; }
Property Value
LayoutShiftDetails
layoutShiftDetails
[JsonPropertyName("layoutShiftDetails")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public LayoutShift? LayoutShiftDetails { get; set; }
Property Value
LcpDetails
lcpDetails
[JsonPropertyName("lcpDetails")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public LargestContentfulPaint? LcpDetails { get; set; }
Property Value
Name
Name may be empty depending on the type.
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Time
Time in seconds since Epoch, monotonically increasing within document lifetime.
[JsonPropertyName("time")]
public double Time { get; set; }
Property Value
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; }