import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { GetLayoutMetricsResponse } = default.Page;
Properties
layoutViewport: LayoutViewport
Deprecated metrics relating to the layout viewport. Can be in DP or in CSS pixels depending on the enable-use-zoom-for-dsf
flag. Use cssLayoutViewport
instead.
visualViewport: VisualViewport
Deprecated metrics relating to the visual viewport. Can be in DP or in CSS pixels depending on the enable-use-zoom-for-dsf
flag. Use cssVisualViewport
instead.
contentSize: DOM.Rect
Deprecated size of scrollable area. Can be in DP or in CSS pixels depending on the enable-use-zoom-for-dsf
flag. Use cssContentSize
instead.
cssLayoutViewport: LayoutViewport
Metrics relating to the layout viewport in CSS pixels.
cssVisualViewport: VisualViewport
Metrics relating to the visual viewport in CSS pixels.
cssContentSize: DOM.Rect
Size of scrollable area in CSS pixels.