2020-06-04 14:56:45 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [WebWorker](./puppeteer.webworker.md) > [executionContext](./puppeteer.webworker.executioncontext.md)
|
|
|
|
|
|
|
|
## WebWorker.executionContext() method
|
|
|
|
|
2020-06-17 15:26:10 +00:00
|
|
|
Returns the ExecutionContext the WebWorker runs in
|
|
|
|
|
2020-06-04 14:56:45 +00:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
executionContext(): Promise<ExecutionContext>;
|
|
|
|
```
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
Promise<[ExecutionContext](./puppeteer.executioncontext.md)<!-- -->>
|
|
|
|
|
2020-06-17 15:26:10 +00:00
|
|
|
The ExecutionContext the web worker runs in.
|
|
|
|
|