puppeteer/docs/api/puppeteer.device.viewport.md
2022-07-01 13:34:41 +02:00

284 B

sidebar_label
Device.viewport

Device.viewport property

Signature:

interface Device {
  viewport: {
    width: number;
    height: number;
    deviceScaleFactor: number;
    isMobile: boolean;
    hasTouch: boolean;
    isLandscape: boolean;
  };
}