Skip to content
masterclass Buddy

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 Download

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • page.waitForEvent('download')
  • page.on('download')
  • suggestedFilename()
  • saveAs()
  • path()
  • failure()
  • cancel()
  • delete()

Source: Download | Playwright. Checked 2026-11-03.