For Each UI Element does not work with infinite scroll

Hello Everyone!
I hope to find my answer here as I am not able to find it anywhere else on the internet. So basically i want to click on each DP of Profiles in my Facebook group and click message buttin to send them message. but when i use For Each UI element, it only detects 4 to 5 first DPs and names only and works perfectly with them. This is because when For Each UI element activity was run, onyl 4 Profiles were loaded because of infinite scroll feature of FB. Now my question is how can i configure UI element activity to detect all profiles in its list. Note that profiles are in 1000s so scrolling first to bottom is also not possible even i tried it too. suggest me any solution or any other alternative approach .

@Mubeen_Hassan

Welcome to the community

Scrolling till the bottom and then extracting is the way

But if you need any other alternative then check in the url if you see any pattern then we can use the pattern to get the profiles

Alternately we can use a loop inside that for each ui element so that thw scroll can be done after each extraction and then scrolled again

Cheers

Thanks for your advice. Now problem with scrolling is that i have tried scrolling first and then use ui elements activity, but still this activity fetches first few profiles. Even if i open profiles after scrolling, after opening profile when bot clicks back button, all the loaded data vanishes and only few profiles are loaded

@Mubeen_Hassan

  1. Without opwning are you not able to fetch the details?
  2. If so then first use table extraction /for each ui element just to get the url to each profile
  3. Then use loop to navigate to each profile and get the details insteqd of clicking eqch

Cheers

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.