Page 1 of 1

name removed instead of ID

Posted: 30 Aug 2019 14:10
by tsolignani
Good afternoon.

Trying to control UI the facebook app, many times, when i click on some objects, I get something like:

clickById("com.facebook.katana:id/(name removed)");

So I cannot get to know the ID of that subject.

How come is that? And, more over, is there a workaround?

Thank you.

Re: name removed instead of ID

Posted: 30 Aug 2019 18:11
by Desmanto
I never see something like that until now. Most of the time it just doesn't give any clickById(). Maybe facebook has some kind of proctetion from accessibility services. Can you check if there is settings for that in the facebook app? Or maybe you should try to restart the phone first. It can be your accessibility service is buggy at that time.

Re: name removed instead of ID

Posted: 30 Aug 2019 18:55
by tsolignani
Thank you, I'll try that and let you know.

Re: name removed instead of ID

Posted: 31 Aug 2019 15:39
by tsolignani
Restarting didn't work. There doesn't seem to be any option too. Who knows. Thank you.

Re: name removed instead of ID

Posted: 01 Sep 2019 13:03
by Desmanto
Do all element in the same windows have the id name as "(name removed)" ? Or maybe it is just coincidentally the element id name is "(name removed)" ?

If byId doesn't work, you have to fall back to the click(pattern) and click(x,y) mode. It is not as reliable, but at least it still can work if the pattern or x,y is fixed.

Re: name removed instead of ID

Posted: 03 Sep 2019 07:28
by tsolignani
Thank you and good morning.

All elements, unfortunately.

I want to try in other devices of mine.

I event tried facebook lite, same.