Skip to main content
Version: 24.38.0

SnapshotOptions 接口

🌐 SnapshotOptions interface

语法

🌐 Signature

export interface SnapshotOptions

属性

🌐 Properties

属性

🌐 Property

修饰符

🌐 Modifiers

类型

🌐 Type

描述

🌐 Description

默认

🌐 Default

includeIframes

optional

boolean

如果为 true,则获取框架子树中每个 iframe 的可访问性树。

🌐 If true, gets accessibility trees for each of the iframes in the frame subtree.

false

interestingOnly

optional

boolean

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

🌐 Prune uninteresting nodes from the tree.

true

root

optional

ElementHandle<Node>

获取可访问性树的根节点

🌐 Root node to get the accessibility tree for

整个页面的根节点。

🌐 The root node of the entire page.