How to use the Overview, Home and Back buttons in Appium for Android

Posted by & filed under Native Device Testing.

Using the Overview, Home and Back native buttons is pretty straight forward using WebDriver and Appium. Below there are the code examples for all the 3 buttons:   How to click the Back Button on Android with Selenium WebDriver and Appium public void clickBackButton(){ ((AndroidDriver)driver).pressKeyCode(AndroidKeyCode.BACK); } How to click the Overview Button on Android with… Read more »