Hey @Hoang_Nguyen1
1- Use a loop with a Click Activity that targets the “Next” button.
Use a Do While or While loop that continues while the “Next” button is available (or visible/enabled).Use Element Exists to check if the “Next” button is still clickable.
2- look for the selector if button selector is changed For example, aaname='Page 1, aaname=‘Page 2’, etc.
Define a variable, e.g., pageNumber, and initialize it to 1.
Use a Do While loop to iterate through pages:
Do While pageNumber <= totalPages
- Click on the page number using the dynamic selector.
- Perform data scraping.
- Increment pageNumber.
- Check if the “Next” button is enabled; if not, exit the loop.
cheers