puppeteer/website/versioned_docs/version-19.7.5/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 14:31:12 +00:00
#### Signature:
```typescript
interface LaunchOptions {
waitForInitialPage?: boolean;
}
```
2022-10-24 14:31:12 +00:00
#### Default value:
true