java.lang.Object
org.openqa.selenium.devtools.v141.performancetimeline.model.TimelineEvent

public class TimelineEvent extends Object
  • Constructor Details

  • Method Details

    • getFrameId

      public FrameId getFrameId()
      Identifies the frame that this event is related to. Empty for non-frame targets.
    • getType

      public String 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

      public 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 Optional<Number> getDuration()
      Event duration, if applicable.
    • getLcpDetails

      public Optional<LargestContentfulPaint> getLcpDetails()
    • getLayoutShiftDetails

      public Optional<LayoutShift> getLayoutShiftDetails()