Latest
method ElementHandle.prototype.boundingBox
import { ElementHandle } from "https://dotland.deno.dev/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/types.d.ts";

This method returns the bounding box of the element (relative to the main frame), or null if the element is not visible.

Returns

Promise<BoundingBox | null>