Skip to content

Key Event 'KEYCODE_SEARCH' doesn't work (do nothing) #916

@nicodeur

Description

@nicodeur

Description

Hello,

Key Event 'KEYCODE_SEARCH' doesn't work (do nothing)

AndroidDriver dr;
dr.sendKeyEvent(AndroidKeyCode.KEYCODE_SEARCH);

I test it with a click on google search on android home, and after type toto.

Environment

  • java client build version or git revision if you use some shapshot: 5.0.4
  • Appium server version or git revision if you use some shapshot: 1.8.1
  • Desktop OS/version used to run Appium if necessary: Ubuntu
  • Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe:
  • Mobile platform/version under test: Android 6
  • Real device or emulator/simulator: Real device

Details

I test with a keypress with adb :

adb shell input keyevent KEYCODE_SEARCH

I have the same problem. So, perhaps it's because of adb ?...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions