puppeteer/website/versioned_docs/version-10.1.0/puppeteer.webworker.executioncontext.md
2021-08-10 11:09:48 +01:00

552 B

Home > puppeteer > WebWorker > executionContext

WebWorker.executionContext() method

Returns the ExecutionContext the WebWorker runs in

Signature:

executionContext(): Promise<ExecutionContext>;

Returns:

Promise<ExecutionContext>

The ExecutionContext the web worker runs in.