Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Page.LayoutViewport

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Page.LayoutViewport
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { LayoutViewport } = Protocol.Page;

Layout viewport position and dimensions.

Properties

pageX: integer

Horizontal offset relative to the document (CSS pixels).

pageY: integer

Vertical offset relative to the document (CSS pixels).

clientWidth: integer

Width (CSS pixels), excludes scrollbar if present.

clientHeight: integer

Height (CSS pixels), excludes scrollbar if present.