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