Skip to main content
Go to Latest
interface Protocol.Emulation.DisplayFeature
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { DisplayFeature } = Protocol.Emulation;

Properties

orientation: ("vertical" | "horizontal")

Orientation of a display feature in relation to screen (DisplayFeatureOrientation enum)

offset: integer

The offset from the screen origin in either the x (for vertical orientation) or y (for horizontal orientation) direction.

maskLength: integer

A display feature may mask content such that it is not physically displayed - this length along with the offset describes this area. A display feature that only splits content will have a 0 mask_length.