mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
8a099a0c2c
The former is not understood by TSDoc.
26 lines
767 B
Markdown
26 lines
767 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [BrowserFetcher](./puppeteer.browserfetcher.md) > [download](./puppeteer.browserfetcher.download.md)
|
|
|
|
## BrowserFetcher.download() method
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
download(revision: string, progressCallback: (x: number, y: number) => void): Promise<BrowserFetcherRevisionInfo>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| revision | string | |
|
|
| progressCallback | (x: number, y: number) => void | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<BrowserFetcherRevisionInfo>
|
|
|
|
{<!-- -->!Promise<!-- --><<!-- -->!BrowserFetcher.RevisionInfo<!-- -->><!-- -->}
|
|
|