puppeteer/new-docs/puppeteer.protocol.page.downloadwillbeginevent.md

24 lines
1.2 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Page](./puppeteer.protocol.page.md) &gt; [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. |