You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to long press an element,
TouchAction(self.driver).long_press(ele, duration).perform(), it couldn't work
When I tried below method, and change Appium-Python-Client to 1.0.2, long_press could work
actions = ActionChains(self.driver)
actions.click_and_hold(ele)
actions.pause(duration)
actions.release()
actions.perform()
But if change Appium-Python-Client to the latest version 2.11.1, it also couldn't work
Is there any other method to achieve it using Appium-Python-Client 2.11.1?
The text was updated successfully, but these errors were encountered:
Environment
Appium-Python-Client 2.11.1
Windows desktop app
Details
When I tried to long press an element,
TouchAction(self.driver).long_press(ele, duration).perform(), it couldn't work
When I tried below method, and change Appium-Python-Client to 1.0.2, long_press could work
actions = ActionChains(self.driver)
actions.click_and_hold(ele)
actions.pause(duration)
actions.release()
actions.perform()
But if change Appium-Python-Client to the latest version 2.11.1, it also couldn't work
Is there any other method to achieve it using Appium-Python-Client 2.11.1?
The text was updated successfully, but these errors were encountered: