Realm class
Signature
export declare abstract class Realm
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Realm class.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| origin |
| string | undefined | (Experimental) This method returns the origin that created the Realm. |
Methods
Method | Modifiers | Description |
|---|---|---|
| evaluate(pageFunction, args) | ||
| evaluateHandle(pageFunction, args) | ||
| extension() | (Experimental) This method returns the extension that created this realm if the realm was created from an Extension. An example of this is an extension content script running on a page. | |
| waitForFunction(pageFunction, options, args) |