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.


This lets you specify the number of times you scroll an element.


This lets you specify the length of time to pause for after each scrolls, in seconds.


The click command fires a single DOM events on the current element:

  • Scroll