class Playwright::Selectors::RegisterOptions
- Playwright::Selectors::RegisterOptions
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
playwright/selectors.crConstructors
Instance Method Summary
-
#content_script : Bool | Nil
Whether to run this selector engine in isolated JavaScript environment.
-
#content_script=(content_script : Bool | Nil)
Whether to run this selector engine in isolated JavaScript environment.
Constructor Detail
Instance Method Detail
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.
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.