Skip to main content
Version: 22.9.0

SnapshotOptions 接口

¥SnapshotOptions interface

签名:

¥Signature:

export interface SnapshotOptions

属性

¥Properties

属性

修饰符

类型

描述

默认

interestingOnly

optional

boolean

从树中修剪掉不感兴趣的节点。

true

root

optional

ElementHandle<节点>

获取可访问性树的根节点

整个页面的根节点。