> For the complete documentation index, see [llms.txt](https://docs.browserflow.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.browserflow.app/reference/browserflow-commands/control-flow/loop-pages.md).

# Loop Pages

Runs commands for each page

#### Selector for link to next page

* [Selector](/guides/selectors.md) for the element to click on to get to the next page

#### Limit (optional)

* Number of pages to loop
