Not able to tap on keyboard next/return button on android

A few more things you can try if the pressKey functions aren’t working:

Execute an Appium script:

driver.executeScript("mobile:performEditorAction", ImmutableMap.of("action", "done"));

Send a newline character into your current text field:

textFieldElement.sendKeys('\n')

Just hide the keyboard:

driver.hideKeyboard()

– Chris

1 Like