【问题标题】:Python selenium webdriver find_element_by_android_uiautomator() alternativePython selenium webdriver find_element_by_android_uiautomator() 替代
【发布时间】:2022-08-04 20:12:32
【问题描述】:

是否有弃用的 selenium-webdriver 方法的替代方法:

find_element_by_android_uiautomator()

?

谢谢。

    标签: python selenium-webdriver


    【解决方案1】:

    答案是使用:

    from appium.webdriver.common.appiumby import AppiumBy
    self.driver.find_element(AppiumBy.ANDROID_UIAUTOMATOR, '')
    

    【讨论】:

      猜你喜欢
      • 2015-06-22
      • 2013-01-12
      • 2018-05-20
      • 2021-03-28
      • 2013-10-18
      • 2021-07-03
      • 2020-03-31
      • 2021-06-08
      • 2014-11-15
      相关资源
      最近更新 更多