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
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.
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.
Hi @nicklimcs ,
I tried in my system its working.In IF web page contains action only try with Text as shown in below image.
(Note:- if you got your solution you can mark as solution and gives kudos)
Thanks & Regards
Vishnu Reddy
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 🚀