mirror of
https://github.com/appium/appium.git
synced 2026-01-13 22:00:05 -06:00
Merge pull request #2673 from paymand/long_press_keycode
Renamed keyevent to press_keycode and added long_press_keycode.
This commit is contained in:
@@ -44,7 +44,7 @@ class ContactsAndroidTests(unittest.TestCase):
|
||||
# no way to handle alerts in Android
|
||||
self.driver.find_element_by_android_uiautomator('new UiSelector().clickable(true)').click()
|
||||
|
||||
self.driver.keyevent(3)
|
||||
self.driver.press_keycode(3)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user