【问题标题】:Appium is not finding element when using a method to find it from a python appium class that inherits from a selenium class使用方法从继承自 selenium 类的 python appium 类中查找元素时,Appium 未找到元素
【发布时间】:2019-06-04 10:55:15
【问题描述】:

Appium 没有找到具有 MobileBy Accessibility ID 的元素,我正在调用从 SeleniumDriver 类继承的 AppiumDriver 类的方法。有任何想法吗?谢谢。

【问题讨论】:

    标签: python automation appium


    【解决方案1】:

    结果是,我不得不使用 MobileBy.ID 而不是 MobileBy.Accessibility_ID 并且找到了该元素。框架代码不是问题。只是使用了错误的定位器类型。

    【讨论】:

      猜你喜欢
      • 2019-06-23
      • 1970-01-01
      • 2019-09-24
      • 1970-01-01
      • 2019-11-02
      • 2020-04-25
      • 2016-08-30
      • 1970-01-01
      • 2019-05-06
      相关资源
      最近更新 更多