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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add wait time between ...
Power Automate
Unanswered

Add wait time between paging on Webpage Extraction

(0) ShareShare
ReportReport
Posted on by 200

Hello all,

 

I am extracting a table of data from a web page that requires paging. Some of the tables have 100 pages each with 15 entries. I am running into an issue where around page 20 the web extraction fails because the "Data element can't be found" however, it is truly because the page takes a moment to load. The paging occurs within the "Extract Web page Data" action so I can't set up a wait action. Is there a way to force the paging the extraction to wait for the webpage to load after paging to the next entries in the table?

 

Update:

Even when manually moving to the next page the data extraction fails on Page 21. Is there a limit to how many times you can use extract data in a loop?

 

Here is the error message I get in both case:

Correlation Id: b68ebefb-6212-43c0-abf7-45bc0049809a

Data extraction element not found.: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Failed to extract data (web page error while extracting data). ---> System.Exception: Data extraction element not found.
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.DataExtraction.LegacyExtractorBase`1.GetExtractionResults(Stopwatch stopwatch, Nullable`1 timeout)
at .....

I have the same question (0)
  • BrendonKoz Profile Picture
    60 on at

    Could you run an action within the Browser automation category for "Run JavaScript function on the webpage" to cause a blocking wait time until whatever you need completely loaded has completed?

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    I recommend not using the paging functionality if Extract data from web page. It's not exactly reliable anyway and it doesn't really work with most pages.

    I would suggest building a loop and extracting each page individually, and then merging the results. See this tutorial for reference: https://www.youtube.com/watch?v=yvoUBwCqdn0&ab_channel=AndersJensen

    -------------------------------------------------------------------------
    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.

  • apaulso9 Profile Picture
    200 on at

    It turns out that even when I iterate through the pages it always fails on page 21. Whether it uses paging or manual clicks. Is there a limit to paging?

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    There shouldn't be. Maybe there's something different with the web page once you reach page 21? Are there more pages afterwards?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard