puppeteer/new-docs/puppeteer.protocol.page.downloadwillbeginevent.md
2020-07-13 14:01:35 +01:00

1.2 KiB

Home > puppeteer > Protocol > Page > DownloadWillBeginEvent

Protocol.Page.DownloadWillBeginEvent interface

Fired when page is about to start a download.

Signature:

export interface DownloadWillBeginEvent 

Properties

Property Type Description
frameId FrameId Id of the frame that caused download to begin.
guid string Global unique identifier of the download.
suggestedFilename string Suggested file name of the resource (the actual name of the file saved on disk may differ).
url string URL of the resource being downloaded.