Home > puppeteer > Frame > content Frame.content() method Signature: content(): Promise<string>; Returns: Promise<string> the full HTML contents of the frame, including the doctype.