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

Box model.

Properties

content: Quad

Content box

padding: Quad

Padding box

border: Quad

Border box

margin: Quad

Margin box

width: integer

Node width

height: integer

Node height

optional
shapeOutside: ShapeOutsideInfo

Shape outside coordinates