mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-09-24 17:02:14 +00:00
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
806 B
806 B
sidebar_label
| sidebar_label |
|---|
| BrowserProvider.supports |
BrowserProvider.supports() method
Check if this provider supports the given browser/platform. Used for filtering before attempting downloads.
Can be synchronous for quick checks or asynchronous if version resolution/network requests are needed.
Signature
interface BrowserProvider {
supports(options: DownloadOptions): Promise<boolean> | boolean;
}
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
Download options to check |
Returns:
Promise<boolean> | boolean
True if this provider supports the browser/platform combination