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>
516 B
516 B
sidebar_label
| sidebar_label |
|---|
| BrowserProvider.getName |
BrowserProvider.getName() method
Get the name of this provider. Used for error messages and logging purposes.
Signature
interface BrowserProvider {
getName(): string;
}
Returns:
string
The provider name (e.g., "DefaultProvider", "CustomProvider")
Remarks
This method is used instead of constructor.name to avoid issues with minification in production builds.
Example
getName() {
return 'MyCustomProvider';
}