puppeteer/docs/api/puppeteer.frame.executioncontext.md
2022-07-05 15:41:43 +02:00

20 lines
330 B
Markdown

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