fix: update documentation on configuring puppeteer (#9150)

This PR updates the docs regarding configuring puppeteer. In addition,
some changes have been made to the documentation generator to show
default values on the documentation site.

Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
This commit is contained in:
jrandolf
2022-10-24 09:07:05 +02:00
committed by GitHub
parent 4bf338b26d
commit f07ad2c661
734 changed files with 2204 additions and 1605 deletions

View File

@@ -4,7 +4,7 @@ sidebar_label: WaitTimeoutOptions
# WaitTimeoutOptions interface
**Signature:**
#### Signature:
```typescript
export interface WaitTimeoutOptions
@@ -12,6 +12,6 @@ export interface WaitTimeoutOptions
## Properties
| Property | Modifiers | Type | Description |
| ----------------------------------------------------- | --------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [timeout?](./puppeteer.waittimeoutoptions.timeout.md) | | number | <p><i>(Optional)</i> Maximum wait time in milliseconds. Pass 0 to disable the timeout.</p><p>The default value can be changed by using the [Page.setDefaultTimeout()](./puppeteer.page.setdefaulttimeout.md) method.</p> |
| Property | Modifiers | Type | Description | Default |
| ----------------------------------------------------- | --------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------ |
| [timeout?](./puppeteer.waittimeoutoptions.timeout.md) | | number | <p><i>(Optional)</i> Maximum wait time in milliseconds. Pass 0 to disable the timeout.</p><p>The default value can be changed by using the [Page.setDefaultTimeout()](./puppeteer.page.setdefaulttimeout.md) method.</p> | <code>30000</code> |