TouchAction 官方文档:https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/touch-actions.md 案例 from time import sleep from appium import webdriver from appium.webdriver.common.touch_action import TouchAction class TestTouchAction: def setup(self): desired_caps = { "platformName": "Android", "deviceName": "127.0.0.1:7555", "platformVersion": "6.0",