23 lines
751 B
Markdown
23 lines
751 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [ExecutionContext](./puppeteer.executioncontext.md) > [(constructor)](./puppeteer.executioncontext._constructor_.md)
|
||
|
|
||
|
## ExecutionContext.(constructor)
|
||
|
|
||
|
Constructs a new instance of the `ExecutionContext` class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
constructor(client: CDPSession, contextPayload: Protocol.Runtime.ExecutionContextDescription, world: DOMWorld);
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| client | [CDPSession](./puppeteer.cdpsession.md) | |
|
||
|
| contextPayload | Protocol.Runtime.ExecutionContextDescription | |
|
||
|
| world | DOMWorld | |
|
||
|
|