puppeteer/docs/api/puppeteer.frame.executioncontext.md
2022-08-16 08:22:45 +02:00

415 B

sidebar_label
Frame.executionContext

Frame.executionContext() method

Warning: This API is now obsolete.

Do not use the execution context directly.

Signature:

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

Returns:

Promise<ExecutionContext>

a promise that resolves to the frame's default execution context.