Hi
I’m trying to perform mobile test on android smartphone, my issue is that I’m not able to press a physical button with code 285. I tried with:
AppiumDriver<?> driver = MobileDriverFactory.getDriver()
driver.pressKey(new KeyEvent(AndroidKey.xxx)
.withFlag(KeyEventFlag.LONG_PRESS));
But is not possible to set AndroidKey=285, the I tried with:
Mobile.sendKeys(String.valueOf(285)), but also this test is failed