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 / Flow Stopped Working w...
Power Automate
Unanswered

Flow Stopped Working with Edge

(0) ShareShare
ReportReport
Posted on by 2

I had a flow on Power Automate that worked well, it would get the date&time, format it the way I liked, set a variable that contained a file location and the new file name including that formatted date time, then it would open a webpage on edge, and I managed to use the "send keys" and "wait" functions effectively to print the page as a pdf. It would do this for 4 webpages I need to save as a pdf on a weekly basis every Monday. I would sit back, drink my morning coffee and watch my laptop quickly open each tab and save as a pdf. I would check it and move on, having saved time on a boring, repetitive task.

However, for the second time it has randomly broken for no apparent reason. Last time it seemed to resolve itself after a few hours, as if it had been some bug someone else had sorted out for me.

But Yesterday it did this for a second time, after working well for weeks and weeks, having made no recent changes, and I still can't get it working again. It gets to the part where it opens edge and then just....stops.

When you open the process and watch where it is up to, it doesn't even move on to the next step, which is just to wait 2 seconds (I put that there to ensure all the graphics on the page load). The timer keeps ticking over as if it thinks it is running but it doesn't move to the next step in the process. That one button just isn't moving on after it opens any page at all, even on new flows I've created to test it, so I know the flow itself isn't the issue.

I have tried uninstalling and reinstalling both the edge extension and the power automate desktop app, I've restarted numerous times, I've tried it with Chrome, I've tried alternating the advanced options of clearing cache & cookies on or off,  and it's the same problem. I've started from scratch, logging into my personal account instead of work and creating a new flow but that launch button just stops the flow every time.

The only thing I can think of is I'm pretty sure my windows updated itself over the weekend as I remember being asked to restart it, could that have changed something? If so, I think Microsoft needs to see that this can be an issue,  flows that are working well shouldn't randomly break for no reason, and basic functions like opening a web browser are used for many people. Any suggestions on how to fix this? (OR an easier way, without purchasing any upgrades, to save a webpage as a pdf for my boss every Monday using either the desktop or online power automate apps?)

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Hi @TamAdmin 

    The behaviour you have explained is bound to happen in RPA especially during web screen scraping scenarios like the one you mentioned.

     

    A few things to try.. 

    • Instead of the static wait for 2 mins, make use of actions such as the below eg; wait till the element shows up on the page, or sometimes the "if web page contains" is also used.

     

    VJR_0-1665456286880.png

     

     

    • Also check if this is enabled

    VJR_1-1665456499819.png

     

    • Add some extra logging like writing to a text file to pinpoint to the exact reason for the error, notice this log file for the failure runs, and then it will become easy to add some additional checks. 
  • TamAdmin Profile Picture
    2 on at

    Thanks VJR - I've tried using it with the "wait for page to load" step on and off and it won't move to the next step either way. If it doesn't move to the next step at all then the flow won't move on to the next step "if the web page contains".

    I'm pretty new at using power automate so if I have understood this incorrectly please don't hesitate to let me know. Adding extra logging sounds like a useful feature but I'm unsure how to go about setting that up. 

  • VJR Profile Picture
    7,635 on at

    Hi @TamAdmin 

     

    If the Flow does not move to the next step usually there is a popup, could be invisible in the background, that is obstructing. In the Launch Edge action use the "If popup occurs" settings. If not then it could be something else.

     

    For logging, you simply create a text file at the beginning of the flow and keep on writing comments at each step of the flow to this file.

    Something like..

    <Date><Time> | Flow started...

    <Date><Time> | Launching webpage with <URL>

    <Date><Time> | Checking "If webpage contains"

     

    Notice the time difference whenever it fails. Compare it with successful and failure scenarios. Notice anything else in the logs that shows a pattern, etc.

     

    If you are by any chance unaware of using those actions then take a look at some videos which will show how they are used.

     

    Also if it is possible and if you are able to show the steps of your Flow, could get some help on the forum.

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 862

#2
Valantis Profile Picture

Valantis 738

#3
Haque Profile Picture

Haque 553

Last 30 days Overall leaderboard