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

Screen orientation.

Properties

type: (
| "portraitPrimary"
| "portraitSecondary"
| "landscapePrimary"
| "landscapeSecondary"
)

Orientation type. (ScreenOrientationType enum)

angle: integer

Orientation angle.