hideScrollbars property

Class: ConfigurationPlainPlatform: PuppeteerLanguage: JavaScript SDK:

Use this property to set and retrieve whether Eyes hides the scrollbars before capturing screenshots or not.

This is useful for eliminating false mismatches that are due to differences in the scrollbar position when the checkpoint is captured.

Syntax

config = { hideScrollbars: value_boolean };

Type:boolean

If set to true then hide the scrollbars. Otherwise, don't hide the scrollbars.