setHideScrollbars method

Class: EyesPlatform: WebdriverIO 5Language: 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(shouldHide);

Parameters

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

Return value

Type: