Page and element scroll: top, bottom, into view. Surfacing the right element before assertion or interaction.
Step phrasings in this group
The book sidebar lists each individual step page under this group.
And I scroll downScrolls the page down by a custom number of pixels (default 350).
And I scroll upScrolls the page up by a custom number of pixels (default 350).
When I scroll to topScrolls to the very top of the current page.
When I scroll to the bottomScrolls to the bottom of the current page.
When I scroll to top of "#off-canvas"Scrolls to the top of a specific element identified by a CSS selector.
When I scroll to bottom of "#off-canvas"Scrolls to the bottom of a specific element identified by a CSS selector.
And I scroll rightScrolls the page right by a custom number of pixels (default 350).
And I scroll leftScrolls the page left by a custom number of pixels (default 350).
When I scroll to startScrolls to the start (horizontal origin) of the page.
When I scroll to the endScrolls to the end (horizontal maximum) of the page.
When I scroll to start of "#off-canvas"Scrolls to the start of a specific element identified by a CSS selector.
When I scroll to end of "#off-canvas"Scrolls to the end of a specific element identified by a CSS selector.