Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Page.ScreencastFrameMetadata
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { ScreencastFrameMetadata } = Protocol.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.