Unable to press Search button (magnifying glass) on Android keyboard using Appium / Selenium / Java

I cannot select the Search button on the Android keyboard using a magnifying glass using Appium / Selenium and Java. I went through earlier threads in stackoverflow, and none of the threads helped.

Need expert help! Thank!

0
source share
2 answers

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

driver.sendKeyEvent(AndroidKeyCode.ENTER);
0
source

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

0

All Articles