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>
¥Page.content() method
页面的完整 HTML 内容,包括 DOCTYPE。
¥The full HTML contents of the page, including the DOCTYPE.
¥Signature
class Page {
content(): Promise<string>;
}
Returns:
Promise<string>