Hello there!
I am working on a flow in power automate desktop that extracts information from a website. The info spreads over several pages so I need to go through the different pages. I am having trouble getting Extract Data from Web Page with pagination working so I wanted to count the number of pages and manually open the URL for each page. Since the number of pages can vary I need to know what the last page number is. For example in the picture below the last page number is '10' (but in other scenarios it might be more or less). I tried executing a JavaScript function within my flow to count the number of <lI> tags within the <ul> without much success. Does anyone have any idea or suggestions how i could get the last page number or alternatively how to work extracting data with pagination?
TIA!

