web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issue with website pag...
Power Automate
Unanswered

Issue with website pager selector

(0) ShareShare
ReportReport
Posted on by 4

Hi to all,

I'm tryng to create a flow that print every single webpage availbable in a website. Of course, the number of this page is dynamic: it depending from the number of elements founded in the database (it colud be 1, 2, ... 7, ... 10 and so on).

 

Code of page 2Code of page 2

 

I would like to create this flow:

- If page 2 is available, click on page 2 and print it, otherwide exit;

- If page 3 is available, click on page 3...

and so on...

 

I tried with Loop cycle using next page but it goes in endless loop, because the nex page button doesn't disappear when the pages are ended (it change only the color of the symbol ">"). So, I'm tryng to do something like this:

 

my flow testmy flow test

 

The issue is that using the standard selector of Power Automate all the page number (and than also the "next page" and "last page" buttons) are catched with their "ordinal" number. This cause a lot of issue issue: "next page" and "last page" are recognized like normal pages and for this reason the flow prints again the last page visualized; and a lot of other strange beaviours... 

 

Selector of page 2Selector of page 2

 

I really need help, please! 

Thanks to all

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Does the URL change when you navigate to the next page? Or perhaps there is an element on the page itself that contains some sort of an id/number of the current page?

     

    If any of the above is true, build a loop and check if the URL/element value changes after going to the next page. If it doesn't, you can assume you have already printed the last page, and can use Exit loop to stop looping.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • Fturano Profile Picture
    4 on at

    URL is always the same and there are no elemets inside the pages that changes.

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Well then, you could maybe also try extracting the actual values for each page and check if they are the same as those from the previous page. If they are, you'll know you have already printed the last page.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • Fturano Profile Picture
    4 on at

    How to do that?

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Use Extract data from web page to extract the actual data into a list or a table. Then store it in some variable such as %DataFromPreviousPage% and check if the current page is the same as the previous page, or not.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 253 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 172 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 134 Super User 2026 Season 2

Last 30 days Overall leaderboard