ElementHandleElementHandle.screenshot_1Version: 22.14.0On this pageElementHandle.screenshot() 方法 ¥ElementHandle.screenshot() method 签名: ¥Signature: class ElementHandle { screenshot(options?: Readonly<ScreenshotOptions>): Promise<Buffer>;} 参数 ¥Parameters 范围类型描述options只读<ScreenshotOptions>(可选的) Returns: Promise<Buffer>