Scroll

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 for after each scrolls, in seconds.

Implementation

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

  • Scroll

Have more questions? Submit request!

0 Comments

Please sign in to leave a comment.