Class TimelineEvent
java.lang.Object
org.openqa.selenium.devtools.v141.performancetimeline.model.TimelineEvent
-
Constructor Summary
ConstructorsConstructorDescriptionTimelineEvent(FrameId frameId, String type, String name, TimeSinceEpoch time, Optional<Number> duration, Optional<LargestContentfulPaint> lcpDetails, Optional<LayoutShift> layoutShiftDetails) -
Method Summary
Modifier and TypeMethodDescriptionEvent duration, if applicable.Identifies the frame that this event is related to.getName()Name may be empty depending on the type.getTime()Time in seconds since Epoch, monotonically increasing within document lifetime.getType()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.
-
Constructor Details
-
TimelineEvent
public TimelineEvent(FrameId frameId, String type, String name, TimeSinceEpoch time, Optional<Number> duration, Optional<LargestContentfulPaint> lcpDetails, Optional<LayoutShift> layoutShiftDetails)
-
-
Method Details
-
getFrameId
Identifies the frame that this event is related to. Empty for non-frame targets. -
getType
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. -
getName
Name may be empty depending on the type. -
getTime
Time in seconds since Epoch, monotonically increasing within document lifetime. -
getDuration
Event duration, if applicable. -
getLcpDetails
-
getLayoutShiftDetails
-