How press Android Home Menu? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How press Android Home Menu? ...

How press Android Home Menu?



public void pressAndroidMenu(AppiumDriver driver) {
	AndroidDriver androidDriver = (AndroidDriver) driver;
	androidDriver.pressKey(new KeyEvent(AndroidKey.MENU));
}

Leave a Reply

Your email address will not be published. Required fields are marked *