摘要:
def is_element(self, *loc): # 判断元素是否存在 e = self.driver.find_elements(*loc) == [] if e: return False # 元素不存在返回False else: return True # 元素存在返回True 阅读全文
posted @ 2021-03-03 14:23
yimu-yimu
阅读(1597)
评论(0)
推荐(0)
摘要:
更多查看定位方法 appium 五种定位方式1.通过id定位,resrouce-id2.通过ClassName定位: classname3.通过Accessiblityld定位:content-desc4.通过AndroidUiAutomator 5.根据bound定位 6.相对定位 7.通过xpa 阅读全文
posted @ 2021-03-03 14:13
yimu-yimu
阅读(1879)
评论(0)
推荐(0)

浙公网安备 33010602011771号