2021-12-27_16-34-15.png 
What I mean is how to remove elements that are not visible to the browser to avoid clicking on them.
Thanks.
incorrect element count showing
-
I'm trying to check how many whatsapp conversations that i have but it's displaying up to 17 then stop even if i have 30+.
Is there any solution to this? All of the elements are getting marked with the blue text so they are being found but not counted properly.
-
@rekaa0251 said in incorrect element count showing:
I'm trying to check how many whatsapp conversations that i have but it's displaying up to 17 then stop even if i have 30+.
Is there any solution to this? All of the elements are getting marked with the blue text so they are being found but not counted properly.
The problem is most likely with the selector
-
@rekaa0251 What you can do is:
scroll
then get elements
add elements to an array
scroll again
get elements (even if they are the same)
add them to the arrayIn the end, delete all duplicates, and you have the full list.
if you want to understand when to stop, either add a counter and if the elements are always the same after 10 times of scrolling then it's probably the end
