Skip to main content
Version: 19.4.0

SnapshotOptions.root property

Root node to get the accessibility tree for

Signature:

interface SnapshotOptions {
root?: ElementHandle<Node>;
}

Default value:

The root node of the entire page.