Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.d.ts";
const { ScreenOrientation } = Protocol.Emulation;

Screen orientation.

Properties

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

Orientation type. (ScreenOrientationType enum)

angle: integer

Orientation angle.