mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
24 lines
1.2 KiB
Markdown
24 lines
1.2 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [DownloadWillBeginEvent](./puppeteer.protocol.page.downloadwillbeginevent.md)
|
||
|
|
||
|
## Protocol.Page.DownloadWillBeginEvent interface
|
||
|
|
||
|
Fired when page is about to start a download.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface DownloadWillBeginEvent
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [frameId](./puppeteer.protocol.page.downloadwillbeginevent.frameid.md) | [FrameId](./puppeteer.protocol.page.frameid.md) | Id of the frame that caused download to begin. |
|
||
|
| [guid](./puppeteer.protocol.page.downloadwillbeginevent.guid.md) | string | Global unique identifier of the download. |
|
||
|
| [suggestedFilename](./puppeteer.protocol.page.downloadwillbeginevent.suggestedfilename.md) | string | Suggested file name of the resource (the actual name of the file saved on disk may differ). |
|
||
|
| [url](./puppeteer.protocol.page.downloadwillbeginevent.url.md) | string | URL of the resource being downloaded. |
|
||
|
|