Skip to content
Advertisement

Python selenium webdriver find_element_by_android_uiautomator() alternative

Is there an alternative for deprecated selenium-webdriver method:

find_element_by_android_uiautomator()

?

Thanks.

Advertisement

Answer

The answer is using:

from appium.webdriver.common.appiumby import AppiumBy
self.driver.find_element(AppiumBy.ANDROID_UIAUTOMATOR, '')
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement