setScrollRootElement method

Class: EyesPlatform: WebdriverIO 5Language: JavaScript SDK:

Use this method to set the element to which setHideScrollbars will be applied.

Syntax


eyes.setScrollRootElement(element);

Parameters

element
Type:By
The element or element descriptor.

Return value

Type: