getScrollRootElement method

Class: EyesPlatform: WebdriverIO 5Language: 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: WebElement
Returns either the value most recently set using setScrollRootElement, or returns an undefined value if this method was not called.