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 / PowerAutomate does not...
Power Automate
Answered

PowerAutomate does not realise its clicked the button

(0) ShareShare
ReportReport
Posted on by 124

I have a flow that was written by an external contractor and Im now supposed to support!  The basics of the flow is it should log into a website, select a filter on a page to show specific transactions.  Then it should click each transaction to take you to the details of that transaction, then click the delete button, then move back and do the same in a loop until all have been deleted.  This was working until the website updated....  Now the problem is that it gets to the stage where there are x number of transactions on screen, it does click the button/link on the first transaciton which brings up the detail page but when I'm stepping through the workflow, it never moves past the 'Press button on web page' step, its like it does not realise it has pressed the button and been taken to the detail page.   tried re-selecting the UI element but its still the same, never goes on to the next step after the press button step.

WAIT!!  It just did it!  Its like it takes about 5 minutes to realise that the webpage has changed for some reason!  The next step is to click the delete button, which then pops up a message saying, are you sure, but its now paused on that button, same issue, I cant click the run next action as it is still on the press button on web page step.

  • Craigja Profile Picture
    124 on at

    So, I have it working - uncheck the 'wait for web page to load' option - instead I have a 2 second delay, but I dont like it.  Why does this option no longer work?

  • Verified answer
    JakubZizka Profile Picture
    21 on at

    Hello there,

    when there is an update usually things change. Power Automate uses a header or code that is not always visible to the common eye. And during an update, this most likely changed, especially now website code is usually generated with a framework and Power Automate relies partially on this generated code. I would suggest adding the UI element again. If you want to investigate what is wrong with the step you have right now having look on the right side here

     

    JakubZizka_1-1633427441133.png

     

    You should check out the selectors since that is the way Power automate recognizes what to do next. You are looking to "Edit Selectors" till you see the last page. Here you get the idea of why it's a bit technical. Since it uses HTML tags to identify the content.

    JakubZizka_2-1633427738436.png

    Here it is possible the structure just changed. Sometimes an ID or a Date is in the Value of the definition of the selector which makes it unreliable when using again and that needs to be replaced with an asterisk ... the "*" character.

     

    The simple way would be to add it again after the update and let it do its thing. If that is not working you can use the Wait for Image which I found also very reliable if you have an image of a button that is in the second window.

     

    I always try :

    • Wait for the Window of content and check the selectors very reliable
    • Wait an Image to appear or disappear
    • Pure wait function

    Hope this helps.

    Jakub

     

  • Craigja Profile Picture
    124 on at

    Ah, ok that makes sense, I just could find the ID bit.  Will have a look at that but it is now working with the pure wait function.  I need to wait before looking again as all the transactions in question have been deleted now that its working! Need to let them build up again!

    Thanks for the detailed explanation though, really useful

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard