Ubuntu 附录1.6.4接触行动问题

Ubuntu 附录1.6.4接触行动问题,ubuntu,automation,appium,Ubuntu,Automation,Appium,我将Appium升级到1.6.4,现在我得到了: KeyError: 'touchAction' 在我的Android设备自动化测试中。 在那之前,它工作得很顺利 I am using Ubuntu 16.04 I am using Selenium v3.0.1 (btw Selenium v3.4.1 - the latest one, refuses to work with my Android test automation) 有没有办法解决这个问题? 我的代码是: d

我将Appium升级到1.6.4,现在我得到了:

  KeyError: 'touchAction'
在我的Android设备自动化测试中。 在那之前,它工作得很顺利

  I am using Ubuntu 16.04
  I am using Selenium v3.0.1 (btw Selenium v3.4.1 - the latest one, refuses to work with my Android test automation)
有没有办法解决这个问题? 我的代码是:

def panic(self, wait=5):
    action = TouchAction(self.driver)
    panic =  self.driver.find_element_by_id('com.eightdevelopment.eas.android:id/panicText')
    action.long_press(panic).perform().wait(wait).release().perform().wait(wait)

谢谢

我想问题出在perform()方法上。perform()方法对驱动程序执行一系列操作。它应该在touchaction的末尾使用