mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
dcfec6dbbd
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
437 B
437 B
sidebar_label |
---|
Viewport.deviceScaleFactor |
Viewport.deviceScaleFactor property
Specify device scale factor. See devicePixelRatio for more info.
Signature:
interface Viewport {
deviceScaleFactor?: number;
}
Default value:
1
Remarks
Setting this value to 0
will set the deviceScaleFactor to the system default.