Class TimelineEvent
- java.lang.Object
-
- org.openqa.selenium.devtools.v102.performancetimeline.model.TimelineEvent
-
public class TimelineEvent extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TimelineEvent(FrameId frameId, java.lang.String type, java.lang.String name, TimeSinceEpoch time, java.util.Optional<java.lang.Number> duration, java.util.Optional<LargestContentfulPaint> lcpDetails, java.util.Optional<LayoutShift> layoutShiftDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Number>
getDuration()
Event duration, if applicable.FrameId
getFrameId()
Identifies the frame that this event is related to.java.util.Optional<LayoutShift>
getLayoutShiftDetails()
java.util.Optional<LargestContentfulPaint>
getLcpDetails()
java.lang.String
getName()
Name may be empty depending on the type.TimeSinceEpoch
getTime()
Time in seconds since Epoch, monotonically increasing within document lifetime.java.lang.String
getType()
The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional "details" fiedls is present.
-
-
-
Constructor Detail
-
TimelineEvent
public TimelineEvent(FrameId frameId, java.lang.String type, java.lang.String name, TimeSinceEpoch time, java.util.Optional<java.lang.Number> duration, java.util.Optional<LargestContentfulPaint> lcpDetails, java.util.Optional<LayoutShift> layoutShiftDetails)
-
-
Method Detail
-
getFrameId
public FrameId getFrameId()
Identifies the frame that this event is related to. Empty for non-frame targets.
-
getType
public java.lang.String getType()
The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional "details" fiedls is present.
-
getName
public java.lang.String getName()
Name may be empty depending on the type.
-
getTime
public TimeSinceEpoch getTime()
Time in seconds since Epoch, monotonically increasing within document lifetime.
-
getDuration
public java.util.Optional<java.lang.Number> getDuration()
Event duration, if applicable.
-
getLcpDetails
public java.util.Optional<LargestContentfulPaint> getLcpDetails()
-
getLayoutShiftDetails
public java.util.Optional<LayoutShift> getLayoutShiftDetails()
-
-