getScrollRootElement method

Class: EyesPlatform: Selenium 3Language: JavaScript SDK:

Returns the element to which Eyes.setHideScrollbars will be applied


let value = eyes.getScrollRootElement();


This method does not take any parameters.

Return value

Type: webdriver.WebElement
Returns either the value most recently set using Eyes.setScrollRootElement, or returns an undefined value if this method was not called.