getScrollRootElement method

Class: EyesPlatform: WebdriverIO 5Language: JavaScript SDK:

Returns the element to which setHideScrollbars will be applied

Syntax


let value = eyes.getScrollRootElement();

Parameters

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.