setHideScrollbars method

Class: EyesPlatform: Selenium 3Language: JavaScript SDK:

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


eyes.setHideScrollbars(hide);

Parameters

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

Return value

Type: