Frame.content() 方法
🌐 Frame.content() method
框架的完整 HTML 内容,包括 DOCTYPE。
🌐 The full HTML contents of the frame, including the DOCTYPE.
语法
🌐 Signature
class Frame {
content(): Promise<string>;
}
返回:
Promise<string>
🌐 Frame.content() method
框架的完整 HTML 内容,包括 DOCTYPE。
🌐 The full HTML contents of the frame, including the DOCTYPE.
🌐 Signature
class Frame {
content(): Promise<string>;
}
返回:
Promise<string>