mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-09-24 17:02:14 +00:00
555 B
555 B
sidebar_label
| sidebar_label |
|---|
| Realm.extension |
Realm.extension() method
Returns the Extension that created this realm, if applicable. This is typically populated when the realm was created by an extension content script injected into a page.
Signature
class Realm {
abstract extension(): Promise<Extension | null>;
}
Returns:
Promise<Extension | null>
A promise that resolves to the Extension or null if not created by an extension.