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 / Next page CSS for web ...
Power Automate
Unanswered

Next page CSS for web data extraction

(0) ShareShare
ReportReport
Posted on by 237

I have a site which I want to extract the table data for all the pages

GanCW_0-1613742975725.png

I can use the web data extraction action to extract the data on the current page but i don't know what should be the next page css selector. 

 

Below is the code from the next and last page navigator.

 

GanCW_1-1613743129144.png

 

I have the same question (0)
  • Expiscornovus Profile Picture
    33,876 Most Valuable Professional on at

    Hi @GanCW,

     

    Can you try and use the following for the UI element?

    hyperlink[Name="Next"]
  • GanCW Profile Picture
    237 on at

    Hi @Expiscornovus ,

    Thanks for the help.  That doesn't work.

     

    The built in pager detector uses this CSS selector which selects the selector based on the position (8th anchor) of the anchor.

    div[id="ajxDspId"] > span:eq(1) > a:eq(7), html > body > table > tbody > tr:eq(1) > td > center > div:eq(1) > div > span:eq(1) > a:eq(7)

     

    This works when the number of pages available is more than 8. However, there will be cases where the number pages will be less than 8.

     

    Is there another position-independent CSS selector I can use ?

     

    Thanks 

  • GanCW Profile Picture
    237 on at

    I have not try this but I think the solution in this case is to use a variable for the next page anchor position and pre-compute the position before using the action.

     

    div[id="ajxDspId"] > span:eq(1) > a:eq(%next_page%), html > body > table > tbody > tr:eq(1) > td > center > div:eq(1) > div > span:eq(1) > a:eq(%next_page%)

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 484

#2
11manish Profile Picture

11manish 282

#3
David_MA Profile Picture

David_MA 280 Super User 2026 Season 1

Last 30 days Overall leaderboard