Appium AndroidKeyCode

【Appium AndroidKeyCode】赋料扬雄敌,诗看子建亲。这篇文章主要讲述Appium AndroidKeyCode相关的知识,希望能为你提供帮助。



driver.sendKeyEvent(androidKeyCode.BACK); driver.sendKeyEvent(AndroidKeyCode.BACKSPACE); driver.sendKeyEvent(AndroidKeyCode.DEL); driver.sendKeyEvent(AndroidKeyCode.ENTER); driver.sendKeyEvent(AndroidKeyCode.HOME); driver.sendKeyEvent(AndroidKeyCode.MENU); driver.sendKeyEvent(AndroidKeyCode.SETTINGS); driver.sendKeyEvent(AndroidKeyCode.SPACE);



很多其它KeyCode值 參看
http://blog.csdn.net/jlminghui/article/details/39268419






    推荐阅读