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 / Click Link on Web Page...
Power Automate
Answered

Click Link on Web Page now taking 30 seconds

(0) ShareShare
ReportReport
Posted on by 697

Hello,

 

So I've been running this flow for a while, but lately this particular step to click on a web page link is taking 30 seconds.  This is in a loop, so it might need to click on the link 60-100 times, so this can add upwards of 50 minutes for this single step. I googled and saw someone recommended to add the "Focus Window" beforehand, I did that and no changes. I've tried it with both Send physical click on and off, and in both cases it is the same.  Any thoughts on how I can fix this?  Again this is a loop so the page is staying open, it's not like the page is reloading over and over again.

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @CharlesBrewer 

     

    Could you share how selector looks ?

  • CharlesBrewer Profile Picture
    697 on at

    Hi there @Nived_Nambiar ,

     

    I'm not completely sure what you're looking for so I shall send you many things. 

    CharlesBrewer_0-1682952395226.pngCharlesBrewer_1-1682952429014.pngCharlesBrewer_2-1682952478709.png

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Try this way, in advanced settings of click webpage link action, toggle off send physical click option and try again.

     

     

    Also let's try to make selector short, by checking html of webpage for that right click on uielement in webpage, and select inspect element option, share the screenshot of that.

     

  • CharlesBrewer Profile Picture
    697 on at

    Hello again @Nived_Nambiar ,

     

    I've tried it with the click on and off, but I'll try it with off this time, sure. Is this what you want?

    CharlesBrewer_0-1682953162023.png

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @CharlesBrewer 

     

    Are you trying to seelect webpage link based on text ?

     

  • CharlesBrewer Profile Picture
    697 on at

    Hello @Nived_Nambiar 

     

    Yes sir. Here is a picture of it. It selects the first link to open a new page, gets some info, closes the page, and then moves down the list to the 2nd, 3rd, etc.

    CharlesBrewer_0-1682956991736.png

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @CharlesBrewer 

     

    Then i would recommend to try this selector instead of one you are trying long one u are using 

     

    a:contains("%text%")

     

    where %text% is variable in PAD which stores the link text which is to be clicked. for example: RA-170973 , RA-174493 etc.

     

    Let me know whether it worked for you 

  • CharlesBrewer Profile Picture
    697 on at

    Hi @Nived_Nambiar ,

     

    I'm not sure I understand.  So delete the entire selector I have now and only put "a:contains("%text%")" ?
    Also how will it know to click on the 1st link on the 1st loop, and then the 2nd link on the 2nd loop, etc. You see in my current selector I have the "tr:eq(%LoopIndex%)" so it hits the right link, I need to incorporate that yes? Otherwise I'm not sure how that works, talk to me like I'm dumb cause I kinda am 🙂

  • CharlesBrewer Profile Picture
    697 on at

    @Nived_Nambiar 

     

    Or how am I getting it to store the text? And also do the loop? I'm a bit confused here.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @CharlesBrewer 

     

    Try any of appraoches which i am suggesting below 🙂

     

    1st way:  using data scrapping option to scrape the text and its associated link (of the ID column )

     

    Use data scrapping to to take the details of ID column, its text and corresponding URL and then loop through the datatable obtained from it and use go to webpage to go to the specific url of that specific ID and then perform operations regarding the ID and then use go to webpage again to go back.

     

    Nived_Nambiar_0-1682992063171.png

     

    2nd Way

     

    For the selector case which we have discussed , selector should be placed like this 

    Nived_Nambiar_1-1682992234545.png

     

     

    here text variable should be the variable from PAD which holds the value of ID name like RA-170973 like that. 

    If you have list of all ID names, you can loop through it and then assign it to text variable and make the bot to click on it 🙂

    Nived_Nambiar_2-1682992440778.png

     

    here List1 is initialized for temp purposes, but in your scenarionyou can use extract data from webpage action to extract the ID names.

     

    Hope this helps 

    Mark it as solution if it resolves your query 

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 204

#3
Haque Profile Picture

Haque 179

Last 30 days Overall leaderboard