puppeteer/website/versioned_docs/version-19.7.2/api/puppeteer.browserfetcher.remove.md

30 lines
660 B
Markdown
Raw Normal View History

---
sidebar_label: BrowserFetcher.remove
---
# BrowserFetcher.remove() method
2022-10-24 14:31:12 +00:00
#### 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&lt;void&gt;
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`.