ScrollWebPage |
Top Previous Next |
×V4.5Ø
Syntax - ScrollWebPage [<Percentage>] Where: <Percentage> is an integer or a variable that contains an integer
Description: This command simulates a scroll action on a web browser. The percentage to scroll is an optional parameter and is relative to the current screen size. 90 percent is the default if not supplied and is roughly the equivalent of a page down key stroke. You can also scroll up by using a negative number for the percentage. If you have multiple web pages open in a single script, this (like all other web commands) will affect the active browser.
Soarian SmartUI: No Chrome: Yes
Sample 1: The following statement simulates a scroll down on the active web page. There is no percentage provided and therefore will default to 90. ScrollWebPage
Sample 2: The following statement simulates a 50 percent scroll up on the active web page. ScrollWebPage -50
See Also: |