puppeteer/website/versioned_docs/version-10.1.0/puppeteer.device.md
2021-08-10 11:09:48 +01:00

618 B

Home > puppeteer > Device

Device interface

Signature:

export interface Device 

Properties

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