puppeteer/website/versioned_docs/version-21.3.7/api/puppeteer.frame.content.md
release-please[bot] 377cd83ccf
chore: release main (#11081)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-10-05 13:39:23 +00:00

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&lt;string&gt;