Skip to main content
Version: 23.8.0

Page.content() 方法

¥Page.content() method

页面的完整 HTML 内容,包括 DOCTYPE。

¥The full HTML contents of the page, including the DOCTYPE.

签名

¥Signature

class Page {
content(): Promise<string>;
}

Returns:

Promise<string>