appium里有selenium的visibility_of_element_located()吗?可以判断元素是否存在DOM里

appium里有selenium的visibility_of_element_located()吗?可以判断元素是否存在DOM里

这样用

WebDriverWait(self.driver,10).until(expected_conditions.visibility_of_element_located((By.XPATH,'//*[@resource-id="com.tencent.wework:id/dyx" and @text="通讯录"]')))

谢谢

关闭