Please add support for Android Fragments. Currently I’m unable to automate the native Android application that has fragments implementation for different screens. The issue is that while navigating from one screen to the other, the driver does not find elements on the page and driver.getPageSource() returns an empty XML. My research shows that this is due to lack of Android Fragments support in Appium.
I have recently started working on android automation and I am facing the same problem of dealing with fragments.
Can you please suggest whether you got any solution to fix this problem of fragment. My scripts are not able to click on the element which are inside fragments.