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