scroll
scroll($scroll_action); - scroll the element (available from version 4.6.30)
The function accepts parameters as input:
$scroll_action – scroll actions. Could be the following:
- scrollbarDown - Down scroll arrow is at the specified location.
- scrollbarHThumb - Horizontal scroll thumb or box is at the specified location.
- scrollbarLeft - Left scroll arrow is at the specified location.
- scrollbarPageDown - Page-down scroll bar shaft is at the specified location.
- scrollbarPageLeft - Page-left scroll bar shaft is at the specified location.
- scrollbarPageRight - Page-right scroll bar shaft is at the specified location.
- scrollbarPageUp - Page-up scroll bar shaft is at the specified location.
- scrollbarRight - Right scroll arrow is at the specified location.
- scrollbarUp - Up scroll arrow is at the specified location.
- scrollbarVThumb - Vertical scroll thumb or box is at the specified location.
- down - Composite reference to scrollbarDown.
- left - Composite reference to scrollbarLeft.
- pageDown - Composite reference to scrollbarPageDown.
- pageLeft - Composite reference to scrollbarPageLeft.
- pageRight - Composite reference to scrollbarPageRight.
- pageUp - Composite reference to scrollbarPageUp.
- right - Composite reference to scrollbarRight.
- up - Composite reference to scrollbarUp.
After the function returns the result of their work in the script (the return value type is boolean):
true – executed successfullyfalse to find this element failed (e.g. no items that meet the specified criteria or not this frame)