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

x/sinco/deps.ts>Protocol.Browser.Bounds

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Browser.Bounds
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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.