puppeteer/docs/api/puppeteer.browserconnectoptions.defaultviewport.md

16 lines
253 B
Markdown
Raw Normal View History

2022-07-01 11:52:39 +00:00
---
sidebar_label: BrowserConnectOptions.defaultViewport
---
# BrowserConnectOptions.defaultViewport property
Sets the viewport for each page.
**Signature:**
```typescript
interface BrowserConnectOptions {
defaultViewport?: Viewport | null;
}
```