SnapshotOptions 接口
🌐 SnapshotOptions interface
语法
🌐 Signature
export interface SnapshotOptions
属性
🌐 Properties
|
属性 🌐 Property |
修饰符 🌐 Modifiers |
类型 🌐 Type |
描述 🌐 Description |
默认 🌐 Default |
|---|---|---|---|---|
|
includeIframes |
|
boolean |
如果为 true,则获取框架子树中每个 iframe 的可访问性树。 🌐 If true, gets accessibility trees for each of the iframes in the frame subtree. |
|
|
interestingOnly |
|
boolean |
从树中修剪掉不感兴趣的节点。 🌐 Prune uninteresting nodes from the tree. |
|
|
root |
|
ElementHandle<Node> |
获取可访问性树的根节点 🌐 Root node to get the accessibility tree for |
整个页面的根节点。 🌐 The root node of the entire page. |