Appium always can't find this element. The page is displayed, but page_source does not have it. What should I do?

appium+ simulator
found the id of the element with uiautomatorviewer
but:

find_element_by_id("com.ss.android.me:id/i7")

makes a mistake

selenium.common.exceptions.NoSuchElementException: Message: An element could not be located on the page using the given search parameters.

tried several times. No.
I typed out page_source and found that there was no such element in it. Why is that?

when looking for other elements, they are all in the page_source. But not when it comes to com.ss.android.me:id/i7.

what"s going on?


use this method
find_element_by_android_uiautomator

Menu