Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.PerformanceTimeline.TimelineEvent

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.PerformanceTimeline.TimelineEvent
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
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: Network.TimeSinceEpoch

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

optional
duration: number

Event duration, if applicable.

optional
lcpDetails: LargestContentfulPaint
optional
layoutShiftDetails: LayoutShift