iOS App Automation Issue/Send Keys not working

I am having below configuration

MAC OS : 10.15.4
Xcode : 11.5
iPhone OS version : 13.4
Appium Version : 1.17

Sendkeys is not woking on above configuration.
Please need some suggestion.

Below error
W3C] Matched W3C error code ‘invalid element state’ to InvalidElementStateError
[W3C (2390600a)] Encountered internal error running command: InvalidElementStateError: Error Domain=com.facebook.WebDriverAgent Code=1 “Did not know how to dismiss the keyboard. Try to dismiss it in the way supported by your application under test.” UserInfo={NSLocalizedDescription=Did not know how to dismiss the keyboard. Try to dismiss it in the way supported by your application under test.}
[W3C (2390600a)] at errorFromW3CJsonCode (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:780:25)
[W3C (2390600a)] at ProxyRequestError.getActualError (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:663:14)
[W3C (2390600a)] at JWProxy.command (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:272:19)
[W3C (2390600a)] at processTicksAndRejections (internal/process/task_queues.js:85:5)
[HTTP] <-- POST /wd/hub/session/2390600a-7208-42ab-b6ca-acb25a210be5/appium/device/hide_keyboard 400 3560 ms - 1286

  1. write your code
  2. did you try setValue? in most cases it works faster.
1 Like