puppeteer/docs/api/puppeteer.webworker.executioncontext.md
2022-07-05 15:41:43 +02:00

373 B

sidebar_label
WebWorker.executionContext

WebWorker.executionContext() method

Returns the ExecutionContext the WebWorker runs in

Signature:

class WebWorker {
  executionContext(): Promise<ExecutionContext>;
}

Returns:

Promise<ExecutionContext>

The ExecutionContext the web worker runs in.