puppeteer/docs/api/puppeteer.frame.executioncontext.md

20 lines
330 B
Markdown
Raw Normal View History

2022-06-29 13:00:37 +00:00
---
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.