在Python上的Appium中有没有长单击方法?
我需要长时间点击我程序中的区域。在
def testDevice1(self):
password = self.driver.find_element_by_id('com.e.eas.android:id/password')
password.send_keys('111111')
time.sleep(5)
password = self.driver.find_element_by_id('com.e.eas.android:id/password').longClick()
Tags:
有关详细信息https://appium.readthedocs.io/en/stable/en/commands/interactions/touch/long-press/
(Python)查找TouchAction。可以将命令串在一起:
相关问题 更多 >
编程相关推荐