puppeteer/new-docs/puppeteer.page.viewport.md

16 lines
357 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Page](./puppeteer.page.md) &gt; [viewport](./puppeteer.page.viewport.md)
## Page.viewport() method
<b>Signature:</b>
```typescript
viewport(): Viewport | null;
```
<b>Returns:</b>
Viewport \| null