0

I am unable to select the Search button on the Android keyboard the one with Magnifying Glass using Appium/Selenium and Java. I have gone through earlier threads on stackoverflow and none of the threads were helpful.

Need expert help! Thanks!

Saifur
  • 16,081
  • 6
  • 49
  • 73
Powell Mittra
  • 71
  • 4
  • 15

2 Answers2

0

You can use this to use search button on the keyboard:

driver.sendKeyEvent(AndroidKeyCode.ENTER);
Gaurav
  • 1,332
  • 11
  • 22
0

adb -s UDID_VALUE shell input keyevent 84 or adb -s UDID_VALUE shell input keyevent KEYCODE_SEARCH