protected static class ScrollBar.SapScrollable_ScrollBar extends ScrollBar.SapScrollbale
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME_SCROLLBAR |
static java.lang.String[] |
supportedClazzes |
parent
Constructor and Description |
---|
SapScrollable_ScrollBar(Component component) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getSupportedClassNames() |
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. |
isSupported
clearCache
isShowOnPage, refresh, webelement
public static final java.lang.String CLASS_NAME_SCROLLBAR
public static final java.lang.String[] supportedClazzes
public SapScrollable_ScrollBar(Component component) throws SeleniumPlusException
SeleniumPlusException
public java.lang.String[] getSupportedClassNames()
public void scroll(int scrollbarType, int steps) throws SeleniumPlusException
ScrollBar.IScrollable
scrollbarType
- int, type of the scrollbar, horizontal or verical.steps
- int, number of stpes to scroll.SeleniumPlusException
public void page(int scrollbarType, int pages) throws SeleniumPlusException
ScrollBar.IScrollable
scrollbarType
- int, type of the scrollbar, horizontal or verical.pages
- int, number of pages to scroll.SeleniumPlusException
Copyright © SAS Institute. All Rights Reserved.