puppeteer/docs/api/puppeteer.puppeteernode.createbrowserfetcher.md
jrandolf 7294dfe9c6
feat!: deprecate createBrowserFetcher in favor of BrowserFetcher (#9079)
This PR deprecates the `createBrowserFetcher` API and requests users to
import the `BrowserFetcher` directly.

Fixed: #8999
2022-10-10 17:51:18 +02:00

30 lines
943 B
Markdown

---
sidebar_label: PuppeteerNode.createBrowserFetcher
---
# PuppeteerNode.createBrowserFetcher() method
> Warning: This API is now obsolete.
>
> Import [BrowserFetcher](./puppeteer.browserfetcher.md) directly and use the constructor.
**Signature:**
```typescript
class PuppeteerNode {
createBrowserFetcher(options: BrowserFetcherOptions): BrowserFetcher;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | ------------------------------------------------------------- | -------------------------------------------------------------------------- |
| options | [BrowserFetcherOptions](./puppeteer.browserfetcheroptions.md) | Set of configurable options to specify the settings of the BrowserFetcher. |
**Returns:**
[BrowserFetcher](./puppeteer.browserfetcher.md)
A new BrowserFetcher instance.