> For the complete documentation index, see [llms.txt](https://docs.does.qa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.does.qa/test-steps/action/scroll-to-edge.md).

# Scroll To Edge

Scroll To Edge scrolls the page or a container [Element](/elements/creating-elements.md) to its top, bottom, left, or right edge. Use it when the Flow must reach content pinned to an edge of a long page or panel.

![Scroll to edge Test Step](https://app.does.qa/screenshots/node/action_scroll_page.png)

## When to use it

* Reach a sticky footer or infinite-list sentinel at the bottom of the page.
* Scroll a horizontal carousel container to its far edge before selecting an item.
* Prefer [Scroll Into View](/test-steps/action/scroll-into-view.md) when one specific control should land in the viewport.

## Configure

### Basics

| Field                              | What to set                                                                            |
| ---------------------------------- | -------------------------------------------------------------------------------------- |
| **Destination**                    | `Top` (default), `Bottom`, `Left`, or `Right`                                          |
| **Parent Element** *(conditional)* | Container [Element](/elements/creating-elements.md) to scroll instead of the main page |

### Advanced

| Field              | What to set                                          |
| ------------------ | ---------------------------------------------------- |
| **Status on fail** | [Failed Status](/test-step-options/failed-status.md) |

## Related

* [Scroll Into View](/test-steps/action/scroll-into-view.md)
* [Touch](/test-steps/action/touch.md)
* [Action](/test-steps/action.md)

**Tags:** `action`, `scroll`, `page`, `view`, `target`, `focus`, `move`, `viewport`
