a3045435a2
**What kind of change does this PR introduce?** Add how to disable timeout for `page.pdf()`. **Summary** This was mentioned in the PR that adding this feature https://github.com/puppeteer/puppeteer/pull/7508 But it has lost at https://github.com/puppeteer/puppeteer/pull/8593. I'm not sure why this was removed, but I think this info is useful for users. **Does this PR introduce a breaking change?** no
20 lines
237 B
Markdown
20 lines
237 B
Markdown
---
|
|
sidebar_label: PDFOptions.timeout
|
|
---
|
|
|
|
# PDFOptions.timeout property
|
|
|
|
Timeout in milliseconds. Pass `0` to disable timeout.
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
interface PDFOptions {
|
|
timeout?: number;
|
|
}
|
|
```
|
|
|
|
#### Default value:
|
|
|
|
30000
|