Automate Android Facebook App - Empty <android.view.ViewGroup>


#1

Hi Guys,

I try to automate android last version of Facebook app, but all I get is multiple Empty <android.view.ViewGroup> like this one in picture, this mean that I can’t select posts or get elements text or detect if it’s image post or video post …
Any help will be appreciated
Thanks

Appium version 1.10.0


#2

Switch to web context. I bet this app is written using react native.


#3

Thank you very much for this clarifications,
Yes effectively, first I stared with web context but unfortunately FB mobile in browser doesn’t show sponsored videos posts, they show only sponsored image and carousels … and that sponsored video are one of main needs of this project :persevere:

Is there any method to deal with that android react native apps ?
Thanks,