I have latest Appium 1.10 and i am trying to search for a text by entering the text and click on search button on the default keyboard.
I tried
((AndroidDriver) driver).pressKey(new KeyEvent(AndroidKey.SEARCH).
withFlag(KeyEventFlag.SOFT_KEYBOARD).
withFlag(KeyEventFlag.KEEP_TOUCH_MODE).
withFlag(KeyEventFlag.EDITOR_ACTION));
does not work for me, somebody has a working solution ?