The information in this topic may be out of date. The current SDK reference guide has moved here.

scrollRootElement property

Class: CheckSettingsPlainPlatform: PuppeteerLanguage: JavaScript SDK:

Normally, Eyes will select the most appropriate element to scroll to execute the fully method. You can use the scrollRootElement method to specify the element to scroll explicitly.


eyes.check({ scrollRootElement: value });



This object defines the element to be scrolled.