Scroller
Methods & Usage
scrollToBottom(): void
Scrolls the content of the element to its bottom.
@return void
oi.ui.scroller(this.scroll_element).scrollToBottom();
await oi.ui(this.page).scroller("this").scrollToBottom();
scrollToTop(): void
Scrolls the content of the element to its top.
@return void
oi.ui.scroller(this.scroll_element).scrollToTop();
await oi.ui(this.page).scroller("this").scrollToTop();
scrollToRight(): void
Scrolls the content of the element to its rightmost position.
@return void
oi.ui.scroller(this.scroll_element).scrollToRight();
await oi.ui(this.page).scroller("this").scrollToRight();
scrollToLeft(): void
Scrolls the content of the element to its leftmost position.
@return void
oi.ui.scroller(this.scroll_element).scrollToLeft();
await oi.ui(this.page).scroller("this").scrollToLeft();
isEnabled(): boolean
Check Scroller element is enabled.
@return boolean
Content will be available soon
oi.ui.scroller(this.scroll_element).scrollToLeft();
isDisplayed(): boolean
Check Scroller element is displayed
@return boolean
Content will be available soon
await oi.ui(this.page).scroller("this").isDisplayed();
isFocused(): boolean
Scroller element isFocused.
@return boolean
Content will be available soon
await oi.ui(this.page).scroller("this").isFocused();