Skip to main content

Notifications

Community site session details

Community site session details

Session Id : nHR3DJFbTDqZVUvfmMGtWP
Power Automate - Building Flows
Answered

Timeout - Press button on web page - Wait for page to load

Like (0) ShareShare
ReportReport
Posted on 1 Mar 2022 14:31:33 by 5

The function "Press button on web page" is used very often. If you choose the advanced option "Wait for page to load", the flow can wait endlessly, if the webpage is down. I would like a timeout feature, so my flow can escape a webpage that does not respond. 

 

Is there a possiblity that I am not aware of? Or will this be added to Power Automate Desktop soon?

  • nit Profile Picture
    5 on 02 Mar 2022 at 14:25:55
    Re: Timeout - Press button on web page - Wait for page to load

    Thanks for the solution! And sorry if I posted in the wrong sub-forum.

     

    I hope Microsoft will implement a timeout opportunity in "Press button on web page", so only one function is necessary.

  • Verified answer
    mattias1172 Profile Picture
    385 on 01 Mar 2022 at 16:42:00
    Re: Timeout - Press button on web page - Wait for page to load

    First, I'm just going to mention there is a dedicated sub-forum for Desktop Flows. This sub-forum is more for Cloud Flows. PAD: https://powerusers.microsoft.com/t5/Power-Automate-Desktop/bd-p/MPADesktop

     

    Second, there are 2 places a timeout value is present. 

     

    In the "Launch new Chrome/Edge", under the "Advanced" tab, there is a timeout section:

    mattias1172_0-1646152632555.png

     

    And under the "Wait for web page content" action, there is also a timeout available when you select the "Fail with timeout error" slider:

    mattias1172_1-1646152696574.png

     

    Instead of using the "Wait for page to load" option inside the button element, i would suggest you send the button click and use a "wait for web page content" action instead and use the "Fail with timeout error". Clicking on the shield icon in the bottom left will let you customize what happens when the action errors out. 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard
Loading started