Find Element Not On Screen

I have a UI that has a lot of elements on it. It requires a scroll to see all the elements. However, I am lead to believe (via a forum post from July 2017) that I shouldn’t need to scroll to merely “find” the element. This has not been my experience to date (running 11.4.83, ios device).

Using the Appium Studio console, I use the filtering capability provided. I enter my XPATH expression in the Filter textbox and see no elements found. I close object spy, scroll down, and enter the same XPATH expression and there it is.

I really don’t want to swipe just to try and find an element. I’d prefer not to do it for clicking either.

Please advise.

thanks
Walter

I’ve come to understand that off-the-screen elements are generated dynamically when scrolling/swiping. This explains the behavior I am seeing. I will adjust my logic accordingly.

2 Likes