The scroll command is used to scroll the current element (see Execution flow) into view. This is useful when the site uses scrolling to trigger elements to appear. An example would be a site that uses infinite scrolling.
The scroll command cannot have any child commands.
Command Options
Align to...
This lets you choose whether to scroll the element to get the top into view or the bottom into view.
Repeat
This lets you specify the number of times you scroll an element.
Wait
This lets you specify the length of time to pause after each scroll, in seconds.
Implementation
The click command fires a single DOM event on the current element:
- Scroll