mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
30 lines
659 B
Markdown
30 lines
659 B
Markdown
|
---
|
||
|
sidebar_label: BrowserFetcher.remove
|
||
|
---
|
||
|
|
||
|
# BrowserFetcher.remove() method
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
class BrowserFetcher {
|
||
|
remove(revision: string): Promise<void>;
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --------- | ------ | ---------------------------------------------------------- |
|
||
|
| revision | string | A revision to remove for the current <code>product</code>. |
|
||
|
|
||
|
**Returns:**
|
||
|
|
||
|
Promise<void>
|
||
|
|
||
|
A promise that resolves when the revision has been removes or throws if the revision has not been downloaded.
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
This method is affected by the current `product`.
|