getScrollRootElement method

Class: EyesPlatform: Selenium 3Language: JavaScript SDK:

Returns the element to which 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 setScrollRootElement, or returns an undefined value if this method was not called.