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

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Answered

"If web page contains" not working/skipped

(0) ShareShare
ReportReport
Posted on by 77

umarbutler/open-australian-legal-corpus · Datasets at Hugging Face

I am trying to scrape data from the above website but the problem is that sometimes when the website launches it won't load the content (Blank page). The solution is to refresh the page for the content to appear.

 

So I have a condition to check if UI element does not exist in webpage, if true then refresh the page. The problem is that, whenever the UI element is not detected, my flow got stuck in action #4 "If web page contains" for about a minute and then it jumps straight to action #8? Which won't work because action #5 and 6 were not executed as the webpage is still blank. Is this a bug and can someone point me to the right direction please

nicklimcs_3-1715825300947.png

 

So to replicate the issue(getting the blank page), all you have to do is to copy and paste the link to a new tab.

I have the same question (0)
  • Deenuji_Loganathan_ Profile Picture
    6,208 Super User 2025 Season 2 on at
    Re: "If web page contains" not working/skipped

    @nicklimcs 

     

    Could you kindly provide your code so that we can evaluate the configuration and offer further assistance?

    Please verify that your send keys are configured correctly and that they are refreshing your webpage accurately.

     

    If your if condition is bypassing the execution of steps #5 and #6, there could be a possibility that your web page is only partially loaded. However, without a clear understanding of the exact scenario, I can't provide further comment on this matter.

     

    Even after multiple attempts in my browser, I consistently did not encounter any blank pages. The mentioned website consistently loaded correctly each time.


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

  • VishnuReddy1997 Profile Picture
    2,606 Super User 2025 Season 2 on at
    Re: "If web page contains" not working/skipped

    Hi @nicklimcs ,

     

    I tried in my system its working.In IF web page contains action only try with Text as shown in below image.

    VishnuReddy1997_0-1715834991323.png

     

    (Note:- if you got your solution you can mark as solution and gives kudos)


    Thanks & Regards

    Vishnu Reddy

  • Verified answer
    nicklimcs Profile Picture
    77 on at
    Re: "If web page contains" not working/skipped

    Hi guys,

     

    Thanks for the responses.

     

    So I managed to get it work by using "Wait for web page content" and if it timed-out set varTimeout to true, and run the if condition. Not sure why "If web page contains" doesn't work for me but it should.

    nicklimcs_0-1715897974990.png

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 535 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 348 Moderator

#3
developerAJ Profile Picture

developerAJ 262

Last 30 days Overall leaderboard