Merge pull request #2673 from paymand/long_press_keycode

Renamed keyevent to press_keycode and added long_press_keycode.
This commit is contained in:
Jonathan Lipps
2014-05-28 12:30:04 -07:00
15 changed files with 231 additions and 121 deletions

View File

@@ -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)