Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.Browser.Bounds

Headless Chrome Deno API
Latest
interface Protocol.Browser.Bounds
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { Bounds } = Protocol.Browser;

Browser window bounds information

Properties

optional
left: integer

The offset from the left edge of the screen to the window in pixels.

optional
top: integer

The offset from the top edge of the screen to the window in pixels.

optional
width: integer

The window width in pixels.

optional
height: integer

The window height in pixels.

optional
windowState: WindowState

The window state. Default to normal.