webContents - contents.capturePage([rect, opts])

概述

返回 Promise,截取页面指定区域(或整页)的截图。

基本信息

属性
模块 webContents
类型 Method
鸿蒙支持 支持