Examples
Parameters
• page:Page
The Playwright Page object.
• strategy: PersistFileStrategy
The strategy to use for downloading the file.
Returns
Promise
<Download
>
A promise that resolves to a Download object.Page
The Playwright Page object.
• strategy: PersistFileStrategy
The strategy to use for downloading the file.
Promise
<Download
>
A promise that resolves to a Download object.