--- sidebar_label: Frame.executionContext --- # Frame.executionContext() method **Signature:** ```typescript class Frame {executionContext(): Promise;} ``` **Returns:** Promise<[ExecutionContext](./puppeteer.executioncontext.md)> a promise that resolves to the frame's default execution context.