0

I am trying to click on "Ok" Button i.e. tick mark in Android device, but its happening, since keypad has not any xpath value. Can someone please help me on this? enter image description here

TeSter
  • 119
  • 1
  • 11

1 Answers1

0

Key presses on appium are done by driver.press_keycode(code)

All required codes can be found here

  • 66 - KEYCODE_ENTER

So in your case, final code would be like,

driver.press_keycode(66)

Nithin Mohan
  • 372
  • 1
  • 9