scrollRootElement property
Use this property to set and retrieve the element to which setHideScrollbars will be applied.
Syntax
config = { scrollRootElement: value };
Type:WebElement|Selector
Type definitions
- Selector
- Used to identify an HTML element defined as |import('selenium-webdriver').Locator|{using:string;value:string}|string|{selector:string;type:string}.
The element that should be scrolled.