Playwright · Class
Download
A Download object represents a file download started by a page. Capture the download event, then save or inspect the file with its methods.
Last updated
- Since
- v1.9
Syntax
class DownloadIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
page.waitForEvent('download')page.on('download')suggestedFilename()saveAs()path()failure()cancel()delete()