import ExecutionContext from 'chrome-remote-interface-extra/lib/executionContext/ExecutionContext.js'ExecutionContext
Constructor Summary
| Public Constructor | ||
| public |
constructor(client: Chrome | CRIConnection | CDPSession | Object, contextPayload: Object, world: DOMWorld) |
|
Member Summary
| Private Members | ||
| private |
_client: Chrome | CRIConnection | CDPSession | Object |
|
| private |
|
|
| private |
|
|
| private |
|
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
async evaluateHandle(pageFunction: Function | string, args: ...*): Promise<JSHandle> |
|
| public |
|
|
| public |
async queryObjects(prototypeHandle: JSHandle): Promise<JSHandle> |
|
| Private Methods | ||
| private |
async _adoptElementHandle(elementHandle: ElementHandle): Promise<ElementHandle> |
|
Public Constructors
public constructor(client: Chrome | CRIConnection | CDPSession | Object, contextPayload: Object, world: DOMWorld) source
Params:
| Name | Type | Attribute | Description |
| client | Chrome | CRIConnection | CDPSession | Object | ||
| contextPayload | Object |
|
|
| world | DOMWorld |
|
Private Members
private _client: Chrome | CRIConnection | CDPSession | Object source
Public Methods
public async queryObjects(prototypeHandle: JSHandle): Promise<JSHandle> source
Params:
| Name | Type | Attribute | Description |
| prototypeHandle | JSHandle |
|
Private Methods
private async _adoptElementHandle(elementHandle: ElementHandle): Promise<ElementHandle> source
Params:
| Name | Type | Attribute | Description |
| elementHandle | ElementHandle |
