0

Unable to automate Done button press(Shown in screenshot-click on this link) using Appium Python. Need assistance on this please.

2 Answers2

0
  • You can get the id of the checkmark using uiautomatorviewer and click it.

  • Using the back key after entering the value may work(driver.navigate().back() for java, I guess for python driver.pressKeyCode(AndroidKeyCode.BACK);)

muhammetkiran
  • 1,422
  • 1
  • 6
  • 6
0

Key presses on appium are done by

driver.press_keycode(code)

All required codes can be found here

  • code is 66 for KEYCODE_ENTER, so

driver.press_keycode(66)

Nithin Mohan
  • 372
  • 1
  • 9