mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
330 B
Markdown
20 lines
330 B
Markdown
|
---
|
||
|
sidebar_label: Frame.executionContext
|
||
|
---
|
||
|
|
||
|
# Frame.executionContext() method
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
class Frame {
|
||
|
executionContext(): Promise<ExecutionContext>;
|
||
|
}
|
||
|
```
|
||
|
|
||
|
**Returns:**
|
||
|
|
||
|
Promise<[ExecutionContext](./puppeteer.executioncontext.md)>
|
||
|
|
||
|
a promise that resolves to the frame's default execution context.
|