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