getScrollRootElement method

Class: EyesPlatform: PlaywrightLanguage: JavaScript SDK:

Returns the element to which Eyes.setHideScrollbars will be applied

Syntax

let value = eyes.getScrollRootElement();

Parameters

This method does not take any parameters.

Return value

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