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