How to download documents from multiple pages

Hello,
I need to automate the Download of some documents, from multiple web pages.
But I don’t know how to flip through the pages, alternating dispositional operations.

In this automation, I access a GUI that contains some documents, divided into groups.
I have to enter the page of each group, and download all the documents present for that group.
The problem, for me, is that I can only download 50 at a time, so there are pages.

Once on the page, I set the selector to 50 lines, and select with the check. I click on two other keys to download the .zip file.
Then, I should change page, go to the next one, and do the same operation.
Can anyone help me with this? I don’t know how to change page, and run the new cycle, until the last page present.

Thanks !!!
Aaron

Hi @AaronMark just get the number 3 from 1 of 3 and loop through the pages by pressing > button near to the page number

Yes, this is something I know how to do.
but, this isnt the only basketball i have to get into.
That is, for this survey there are 3 pages, but I have another 301 surveys to enter and the number of pages varies.
In some, 1 page, in others, 7, 10…

Do you happen to have any sample code if you’ve ever done this kind of automation?

@AaronMark
Based on the number, you could use a while loop and decrease the value. Once it reaches 1, the loop ends.

…seems easy…
I try…
Thanks …