puppeteer/docs/api/puppeteer.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

18 lines
435 B
Markdown

---
sidebar_label: createBrowserFetcher
---
# createBrowserFetcher variable
> Warning: This API is now obsolete.
>
> Import [BrowserFetcher](./puppeteer.browserfetcher.md) directly and use the constructor.
**Signature:**
```typescript
createBrowserFetcher: (
options: import('puppeteer-core/internal/node/BrowserFetcher.js').BrowserFetcherOptions
) => import('puppeteer-core/internal/node/BrowserFetcher.js').BrowserFetcher;
```