puppeteer/docs/api/puppeteer.frame.executioncontext.md
2022-07-01 13:34:41 +02:00

330 B

sidebar_label
Frame.executionContext

Frame.executionContext() method

Signature:

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

Returns:

Promise<ExecutionContext>

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