Renamed keyevent to press_keycode and added long_press_keycode.

This commit is contained in:
Payman Delshad
2014-05-26 15:45:21 +02:00
parent b66732d937
commit 8b1ec9d92c
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)