20 lines
242 B
Markdown
20 lines
242 B
Markdown
---
|
|
sidebar_label: Frame.content
|
|
---
|
|
|
|
# Frame.content() method
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
class Frame {
|
|
content(): Promise<string>;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
Promise<string>
|
|
|
|
The full HTML contents of the frame, including the DOCTYPE.
|