How press Android Home Menu?
public void pressAndroidMenu(AppiumDriver driver) {
AndroidDriver androidDriver = (AndroidDriver) driver;
androidDriver.pressKey(new KeyEvent(AndroidKey.MENU));
}
Posted on October 19, 2019
By Shah Nawaz
public void pressAndroidMenu(AppiumDriver driver) {
AndroidDriver androidDriver = (AndroidDriver) driver;
androidDriver.pressKey(new KeyEvent(AndroidKey.MENU));
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it. Privacy Policy
Accept