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

17 lines
253 B
Markdown
Raw Normal View History

---
sidebar_label: Frame.content
---
# Frame.content() method
**Signature:**
```typescript
class Frame {content(): Promise<string>;}
```
**Returns:**
Promise&lt;string&gt;
the full HTML contents of the frame, including the doctype.