How can I wait for Mobile element
I would like to wait for MobilElement, not sure what is the correct way. Using Appium, Selenium and Java to create some automation tests, but running all using emulator and sometimes I need to wait little bit for element, I would like to use something what I use in webElement. Reason why I use find by class is in application there are no ids and I can not change it. public static MobileElement myButton(AndroidDriver driver, int index) { List<MobileElement> button = driver.findElements(By.className("android.widget.Button")); return button.get(index); } Emulator is slow for me so I would like to
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.