setScrollRootElement method

Class: EyesPlatform: Selenium 3Language: JavaScript SDK:

Use this method to set the element to which setHideScrollbars will be applied.

Syntax


eyes.setScrollRootElement(element);

Parameters

element
Type:webdriver.WebElement|webdriver.By|EyesRemoteWebElement
The element or element descriptor.

Return value

Type: