class

Playwright::Accessibility::SnapshotOptions

Inherits JSON::Serializable / Reference / Object

Constructors

new(interesting_only : Bool | Nil = nil, root : Playwright::ElementHandle | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

interesting_only

Prune uninteresting nodes from the tree. Defaults to true.

Source
interesting_only=(interesting_only : Bool | Nil)

Prune uninteresting nodes from the tree. Defaults to true.

Source
root

The root DOM element for the snapshot. Defaults to the whole page.

Source
root=(root : ElementHandle | Nil)

The root DOM element for the snapshot. Defaults to the whole page.

Source