getHideScrollbars method

Class: ConfigurationPlatform: PuppeteerLanguage: JavaScript SDK:

Use this method to 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.


let configval = config.getHideScrollbars();
config.hideScrollbars = configval;
configval = config.hideScrollbars;

Note that this feature is available as both a method and a property.


This method does not take any parameters.

Return value

Type: boolean