24 lines
764 B
Markdown
24 lines
764 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 | {<!-- -->!Promise<!-- --><<!-- -->!BrowserFetcher.RevisionInfo<!-- -->><!-- -->} |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
Promise<BrowserFetcherRevisionInfo>
|
||
|
|