跳至主要內容
版本: 23.11.1

Page.content() 方法

頁面的完整 HTML 內容,包括 DOCTYPE。

簽名

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

返回

Promise<string>