Class TimelineEvent
- Namespace
- Selenium.WebDriver.BiDi.Cdp.PerformanceTimeline
- Assembly
- Selenium.WebDriver.BiDi.Cdp.dll
public sealed record TimelineEvent : IEquatable<TimelineEvent>
- Inheritance
-
TimelineEvent
- Implements
- Inherited Members
Constructors
TimelineEvent(FrameId, string, string, TimeSinceEpoch)
public TimelineEvent(FrameId FrameId, string Type, string Name, TimeSinceEpoch Time)
Parameters
FrameIdFrameIdIdentifies the frame that this event is related to. Empty for non-frame targets.
TypestringThe event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional "details" fields is present.
NamestringName may be empty depending on the type.
TimeTimeSinceEpochTime in seconds since Epoch, monotonically increasing within document lifetime.
Properties
Duration
Event duration, if applicable.
public double? Duration { get; init; }
Property Value
FrameId
Identifies the frame that this event is related to. Empty for non-frame targets.
public FrameId FrameId { get; init; }
Property Value
LayoutShiftDetails
public LayoutShift? LayoutShiftDetails { get; init; }
Property Value
LcpDetails
public LargestContentfulPaint? LcpDetails { get; init; }
Property Value
Name
Name may be empty depending on the type.
public string Name { get; init; }
Property Value
Time
Time in seconds since Epoch, monotonically increasing within document lifetime.
public TimeSinceEpoch Time { get; init; }
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.
public string Type { get; init; }