on-internet
← Community

Mobile element do not exist in DOM anymore - selenium

Stack Overflow ·

Using appium + selenium + java. Trying to wait for mobile element with specific text. In mobile application I am login to page, and during login have android.widget.TextView(0) with text, so I am checking this text and if new element android.widget.TextView(0) with different text show up then I can go with other steps. When new element show up old one does not exists For that using following code but then I can see Cached elements 'By.clazz: android.widget.TextView' do not exist in DOM anymore Code: public static MobileElement waitForElementText(AndroidDriver driver, int index, String text, in

Comments

Sign in or sign up to comment and upvote.

No comments yet.