puppeteer/docs/api/puppeteer.launchoptions.waitforinitialpage.md

16 lines
332 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: LaunchOptions.waitForInitialPage
---
# LaunchOptions.waitForInitialPage property
Whether to wait for the initial page to be ready. Useful when a user explicitly disables that (e.g. `--no-startup-window` for Chrome).
**Signature:**
```typescript
interface LaunchOptions {
waitForInitialPage?: boolean;
}
```