Skip to main content
Go to Latest
interface Protocol.PerformanceTimeline.TimelineEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { TimelineEvent } = Protocol.PerformanceTimeline;

Properties

frameId: Page.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" fiedls is present.

name: string

Name may be empty depending on the type.

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

optional
duration: number

Event duration, if applicable.

optional
lcpDetails: LargestContentfulPaint
optional
layoutShiftDetails: LayoutShift