puppeteer/docs/api/puppeteer.frame.content.md

20 lines
243 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Frame.content
---
# Frame.content() method
The full HTML contents of the frame, including the DOCTYPE.
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Frame {
content(): Promise<string>;
}
```
**Returns:**
Promise&lt;string&gt;