SnapshotOptions 接口
¥SnapshotOptions interface
签名
¥Signature
export interface SnapshotOptions
属性
¥Properties
属性 | 修饰符 | 类型 | 描述 | 默认 |
---|---|---|---|---|
includeIframes |
| boolean | 如果为 true,则获取框架子树中每个 iframe 的可访问性树。 |
|
interestingOnly |
| boolean | 从树中修剪掉不感兴趣的节点。 |
|
root |
| ElementHandle<节点> | 获取可访问性树的根节点 | 整个页面的根节点。 |