Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 415 Bytes

puppeteer.frame.executioncontext.md

File metadata and controls

23 lines (16 loc) · 415 Bytes
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.