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

x/sinco/deps.ts>Protocol.Emulation.DisplayFeature

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Emulation.DisplayFeature
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.ts";
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.