mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
346 B
Markdown
20 lines
346 B
Markdown
---
|
|
sidebar_label: Frame.frameElement
|
|
---
|
|
|
|
# Frame.frameElement() method
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class Frame {
|
|
frameElement(): Promise<HandleFor<HTMLIFrameElement> | null>;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
Promise<[HandleFor](./puppeteer.handlefor.md)<HTMLIFrameElement> \| null>
|
|
|
|
The frame element associated with this frame (if any).
|