class Playwright::Accessibility::SnapshotOptions

Included Modules

Defined in:

playwright/accessibility.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(interesting_only : Bool | Nil = nil, root : Playwright::ElementHandle | Nil = nil) #

[View source]

Instance Method Detail

def interesting_only : Bool | Nil #

Prune uninteresting nodes from the tree. Defaults to true.


[View source]
def interesting_only=(interesting_only : Bool | Nil) #

Prune uninteresting nodes from the tree. Defaults to true.


[View source]
def root : ElementHandle | Nil #

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


[View source]
def root=(root : ElementHandle | Nil) #

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


[View source]