擅长:python、mysql、java
<pre><code>from appium.webdriver.common.touch_action import TouchAction
actions = TouchAction(driver)
actions.long_press(element)
actions.perform()
</code></pre>
<p>有关详细信息<a href="https://appium.readthedocs.io/en/stable/en/commands/interactions/touch/long-press/" rel="nofollow noreferrer">https://appium.readthedocs.io/en/stable/en/commands/interactions/touch/long-press/</a></p>