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

x/pptr/mod.ts>ElementHandle#boxModel

Headless Chrome Deno API
Latest
method ElementHandle.prototype.boxModel
Re-export
import { ElementHandle } from "https://deno.land/x/pptr@1.2.0/mod.ts";

This method returns boxes of the element, or null if the element is not visible.

Returns

Promise<BoxModel | null>