I want to get the number of pages that change dynamically


What do you write a conditional expression that uses a loop but leaves the loop?

while (nextPageExists)
      pageNum = pageNum + 1
 --- look for the page number
      if not exists
         ---- nextPageExists = False

im sorry i don’t understand this loop

show me Create a sample project plz

Sure… I will send you the sample project.

If you find carefully with UiExplorer you can find a selector of a generic frame. This will be always stable… irrespective of size. Just pick up that element selector and pass that into get text activity. That will return numbers as text.
Use those numbers text and take maximum number as your maximum page number and pass it into a loop.

Hope my inputs are useful

use Data Scraping for pagination.

Resolved using Exist activity.