[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [VisualViewport](./puppeteer.protocol.page.visualviewport.md) ## Protocol.Page.VisualViewport interface Visual viewport position, dimensions, and scale. Signature: ```typescript export interface VisualViewport ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [clientHeight](./puppeteer.protocol.page.visualviewport.clientheight.md) | number | Height (CSS pixels), excludes scrollbar if present. | | [clientWidth](./puppeteer.protocol.page.visualviewport.clientwidth.md) | number | Width (CSS pixels), excludes scrollbar if present. | | [offsetX](./puppeteer.protocol.page.visualviewport.offsetx.md) | number | Horizontal offset relative to the layout viewport (CSS pixels). | | [offsetY](./puppeteer.protocol.page.visualviewport.offsety.md) | number | Vertical offset relative to the layout viewport (CSS pixels). | | [pageX](./puppeteer.protocol.page.visualviewport.pagex.md) | number | Horizontal offset relative to the document (CSS pixels). | | [pageY](./puppeteer.protocol.page.visualviewport.pagey.md) | number | Vertical offset relative to the document (CSS pixels). | | [scale](./puppeteer.protocol.page.visualviewport.scale.md) | number | Scale relative to the ideal viewport (size at width=device-width). | | [zoom](./puppeteer.protocol.page.visualviewport.zoom.md) | number | Page zoom factor (CSS to device independent pixels ratio). |