Table of Contents

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

FrameId FrameId

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

Type string

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.

Name string

Name may be empty depending on the type.

Time TimeSinceEpoch

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

Properties

Duration

Event duration, if applicable.

public double? Duration { get; init; }

Property Value

double?

FrameId

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

public FrameId FrameId { get; init; }

Property Value

FrameId

LayoutShiftDetails

public LayoutShift? LayoutShiftDetails { get; init; }

Property Value

LayoutShift

LcpDetails

public LargestContentfulPaint? LcpDetails { get; init; }

Property Value

LargestContentfulPaint

Name

Name may be empty depending on the type.

public string Name { get; init; }

Property Value

string

Time

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

public TimeSinceEpoch Time { get; init; }

Property Value

TimeSinceEpoch

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; }

Property Value

string