Skip to content

Commit

Permalink
chore: generate versioned docs
Browse files Browse the repository at this point in the history
  • Loading branch information
release-please[bot] committed Nov 20, 2024
1 parent d9cc633 commit c362461
Show file tree
Hide file tree
Showing 594 changed files with 150 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,13 @@ Set of configurable options for CSS coverage.
</td></tr>
<tr><td>

<span id="downloadbehavior">[DownloadBehavior](./puppeteer.downloadbehavior.md)</span>

</td><td>

</td></tr>
<tr><td>

<span id="elementscreenshotoptions">[ElementScreenshotOptions](./puppeteer.elementscreenshotoptions.md)</span>

</td><td>
Expand Down Expand Up @@ -1472,6 +1479,13 @@ Represents the source scheme of the origin that originally set the cookie. A val
</td></tr>
<tr><td>

<span id="downloadpolicy">[DownloadPolicy](./puppeteer.downloadpolicy.md)</span>

</td><td>

</td></tr>
<tr><td>

<span id="elementfor">[ElementFor](./puppeteer.elementfor.md)</span>

</td><td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,25 @@ Sets the viewport for each page.
</td></tr>
<tr><td>

<span id="downloadbehavior">downloadBehavior</span>

</td><td>

`optional`

</td><td>

[DownloadBehavior](./puppeteer.downloadbehavior.md)

</td><td>

Sets the download behavior for the context.

</td><td>

</td></tr>
<tr><td>

<span id="protocol">protocol</span>

</td><td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,29 @@ Default
</th></tr></thead>
<tbody><tr><td>

<span id="downloadbehavior">downloadBehavior</span>

</td><td>

`optional`

</td><td>

[DownloadBehavior](./puppeteer.downloadbehavior.md)

</td><td>

Behavior definition for when downloading a file.

**Remarks:**

If not set, the default behavior will be used.

</td><td>

</td></tr>
<tr><td>

<span id="proxybypasslist">proxyBypassList</span>

</td><td>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
sidebar_label: DownloadBehavior
---

# DownloadBehavior interface

### Signature

```typescript
export interface DownloadBehavior
```

## Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th><th>

Default

</th></tr></thead>
<tbody><tr><td>

<span id="downloadpath">downloadPath</span>

</td><td>

`optional`

</td><td>

string

</td><td>

The default path to save downloaded files to.

**Remarks:**

Setting this is required if behavior is set to `allow` or `allowAndName`.

</td><td>

</td></tr>
<tr><td>

<span id="policy">policy</span>

</td><td>

</td><td>

[DownloadPolicy](./puppeteer.downloadpolicy.md)

</td><td>

Whether to allow all or deny all download requests, or use default behavior if available.

**Remarks:**

Setting this to `allowAndName` will name all files according to their download guids.

</td><td>

</td></tr>
</tbody></table>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
sidebar_label: DownloadPolicy
---

# DownloadPolicy type

### Signature

```typescript
export type DownloadPolicy = 'deny' | 'allow' | 'allowAndName' | 'default';
```
Loading

0 comments on commit c362461

Please sign in to comment.