2020-06-04 14:56:45 +00:00
|
|
|
<!-- 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 | |
|
2020-06-12 10:38:24 +00:00
|
|
|
| progressCallback | (x: number, y: number) => void | |
|
2020-06-04 14:56:45 +00:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
Promise<BrowserFetcherRevisionInfo>
|
|
|
|
|
2020-06-12 10:38:24 +00:00
|
|
|
{<!-- -->!Promise<!-- --><<!-- -->!BrowserFetcher.RevisionInfo<!-- -->><!-- -->}
|
|
|
|
|