有时候找不到控件,通过绝对位置来点击控件的方式有:
driver.swipe(65,10,65,10,5)
driver.tap([(100, 20), (100, 60), (100, 100)], 500) 模拟手指点击(最多五个手指),可设置按住时间长度(毫秒)
el = self.driver.find_element_by_accessibility_id('Animation')
action = TouchAction(self.driver)
action.tap(el).perform()