Q1: I am trying to automate Amazon Hybrid App where identified the web element from Home screen which is not displayed in Mobile screen. So For that, I have scroll the screen down to up. But Appium is able to identify the web element even not displayed in the Mobile screen.
How is it possible in Mobile automation?
driver.find_element_by_xpath("//android.view.View[@content-desc = “ANY ELEMENT CONTENT”]")
Q2: Can we identify UI elements through UI Automater Viewer for Hybrid App (Native and Web element both)? Currently I am able to identify both using UI Automater Viewer. Pl confirm.
Appium: 1.6.4
Language: Python
SDK: 23
OS: Android
Pl help me to solve above problems and let me know, if any query.