Skip to main content

Frame.executionContext() method

Signature:

executionContext(): Promise<ExecutionContext>;

Returns:

Promise<ExecutionContext>

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