mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
243 B
Markdown
20 lines
243 B
Markdown
---
|
|
sidebar_label: Frame.content
|
|
---
|
|
|
|
# Frame.content() method
|
|
|
|
The full HTML contents of the frame, including the DOCTYPE.
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
class Frame {
|
|
content(): Promise<string>;
|
|
}
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
Promise<string>
|