puppeteer/website/versioned_docs/version-19.1.1/api/puppeteer.launchoptions.waitforinitialpage.md

20 lines
360 B
Markdown
Raw Normal View History

---
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).
2022-10-24 11:58:47 +00:00
#### Signature:
```typescript
interface LaunchOptions {
waitForInitialPage?: boolean;
}
```
2022-10-24 11:58:47 +00:00
#### Default value:
true