class Playwright::Selectors::RegisterOptions

Included Modules

Defined in:

playwright/selectors.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(content_script : Bool | Nil = nil) #

[View source]

Instance Method Detail

def content_script : Bool | Nil #

Whether to run this selector engine in isolated JavaScript environment. This environment has access to the same DOM, but not any JavaScript objects from the frame's scripts. Defaults to false. Note that running as a content script is not guaranteed when this engine is used together with other registered engines.


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

Whether to run this selector engine in isolated JavaScript environment. This environment has access to the same DOM, but not any JavaScript objects from the frame's scripts. Defaults to false. Note that running as a content script is not guaranteed when this engine is used together with other registered engines.


[View source]