puppeteer/docs/api/puppeteer.device.md
2022-07-05 15:41:43 +02:00

1.1 KiB

sidebar_label
Device

Device interface

Signature:

export interface Device

Properties

Property Modifiers Type Description
name string
userAgent string
viewport { width: number; height: number; deviceScaleFactor: number; isMobile: boolean; hasTouch: boolean; isLandscape: boolean; }