<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Viewport](./puppeteer.viewport.md) &gt; [deviceScaleFactor](./puppeteer.viewport.devicescalefactor.md)

## Viewport.deviceScaleFactor property

Specify device scale factor. See [devicePixelRatio](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio) for more info.

<b>Signature:</b>

```typescript
deviceScaleFactor?: number;
```
