public static interface ScrollBar.IScrollable extends IOperable
Modifier and Type | Method and Description |
---|---|
void |
page(int scrollbarType,
int pages)
Try to scroll a page.
If the scrollbar is vertial, then scroll up or down. If the scrollbar is horizontal, then scroll left or right. |
void |
scroll(int scrollbarType,
int steps)
Try to scroll number of steps.
If the scrollbar is vertial, then scroll up or down. If the scrollbar is horizontal, then scroll left or right. |
clearCache
void page(int scrollbarType, int pages) throws SeleniumPlusException
scrollbarType
- int, type of the scrollbar, horizontal or verical.pages
- int, number of pages to scroll.SeleniumPlusException
void scroll(int scrollbarType, int steps) throws SeleniumPlusException
scrollbarType
- int, type of the scrollbar, horizontal or verical.steps
- int, number of stpes to scroll.SeleniumPlusException
Copyright © SAS Institute. All Rights Reserved.