Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Page.ScreencastFrameMetadata
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ScreencastFrameMetadata } = default.Page;

Screencast frame metadata.

Properties

offsetTop: number

Top offset in DIP.

pageScaleFactor: number

Page scale factor.

deviceWidth: number

Device screen width in DIP.

deviceHeight: number

Device screen height in DIP.

scrollOffsetX: number

Position of horizontal scroll in CSS pixels.

scrollOffsetY: number

Position of vertical scroll in CSS pixels.

optional
timestamp: Network.TimeSinceEpoch

Frame swap timestamp.