set_hide_scrollbars method

Class: ConfigurationPlatform: Selenium 3Language: Python 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.


configval = config.set_hide_scrollbars(hide_scrollbars)
config.hide_scrollbars  = configval
configval = config.hide_scrollbars

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


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

Return value

Type: Configuration
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of the Configuration class.