scrollRootElement property

Class: CheckSettingsPlainPlatform: Selenium 4Language: 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:

WebElement|Selector

Type definitions

Selector
Used to identify an HTML element defined as |import('selenium-webdriver').Locator|{using:string;value:string}|string|{selector:string;type:string}.

This object defines the element to be scrolled.