getScrollRootElement method
Returns the element to which Configuration.setHideScrollbars applies to.
Syntax
let configval = config.getScrollRootElement();
config.scrollRootElement = configval;
configval = config.scrollRootElement;
Note that this feature is available as both a method and a property.
Parameters
This method does not take any parameters.Return value
- Type:
WebElement|Selector
-
Returns the value most recently set using Configuration.setScrollRootElement,
or returns an undefined value if this method was not called.
Type definitions
- Selector
- Used to identify an HTML element defined as |import('selenium-webdriver').Locator|{using:string;value:string}|string|{selector:string;type:string}.