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.

Syntax

eyes.check({ scrollRootElement: value });

Type:

ElementHandle|Selector

This object defines the element to be scrolled.