Unable to click on the device keyboard enter button - Android Appium + Ruby

Hi All,

I am unable click on the device keyboard enter button in android. I had tried both

@driver.action.send_keys(:enter).perform
@driver.action.send_keys(:return).perform

but it is not working. Could you please help on regarding this.

Thanks & regards
Bikash

Hi Bikash,

Please try with driver.press_keycode(66) .

here is detailed description for all kind of key events, you can do keyword search for KEYCODE_ENTER

Thanks,
Donald