Uiautomator2 sendKeys method is very slowly

Hi everyone,
sendKeys method fills the input field in about 3 minutes. Can the keyboard numeric opened in the application I use be related to this reason? Should I try another method?

Thanks for helps.

image
image

appium logs at wait time:

[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“00000000-0000-0007-ffff-ffff0000004b”,“ELEMENT”:“00000000-0000-0007-ffff-ffff0000004b”}
[HTTP] <-- POST /session/cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff/element 200 10120 ms - 137
[HTTP]
[HTTP] --> GET /session/cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff/element/00000000-0000-0007-ffff-ffff0000004b/displayed
[HTTP] {}
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Calling AppiumDriver.elementDisplayed() with args: [“00000000-0000-0007-ffff-ffff0000004b”,“cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff”]
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Matched ‘/element/00000000-0000-0007-ffff-ffff0000004b/attribute/displayed’ to command name ‘getAttribute’
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Proxying [GET /element/00000000-0000-0007-ffff-ffff0000004b/attribute/displayed] to [GET http://127.0.0.1:10005/session/c4daa156-880a-49c5-a742-b40744eb065c/element/00000000-0000-0007-ffff-ffff0000004b/attribute/displayed] with no body
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Got response with status 200: {“sessionId”:“c4daa156-880a-49c5-a742-b40744eb065c”,“value”:“true”}
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Responding to client with driver.elementDisplayed() result: true
[HTTP] <-- GET /session/cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff/element/00000000-0000-0007-ffff-ffff0000004b/displayed 200 20262 ms - 14
[HTTP]
[HTTP] --> GET /session/cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff/context
[HTTP] {}
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Calling AppiumDriver.getCurrentContext() with args: [“cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff”]
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Responding to client with driver.getCurrentContext() result: “NATIVE_APP”
[HTTP] <-- GET /session/cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff/context 200 1 ms - 22
[HTTP]
[HTTP] --> POST /session/cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff/element
[HTTP] {“using”:“id”,“value”:“com.a101.plus:id/et_phone”}
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Calling AppiumDriver.findElement() with args: [“id”,“com.a101.plus:id/et_phone”,“cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff”]
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Waiting up to 0 ms for condition
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Matched ‘/element’ to command name ‘findElement’
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Proxying [POST /element] to [POST http://127.0.0.1:10005/session/c4daa156-880a-49c5-a742-b40744eb065c/element] with body: {“strategy”:“id”,“selector”:“com.a101.plus:id/et_phone”,“context”:"",“multiple”:false}
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Got response with status 200: {“sessionId”:“c4daa156-880a-49c5-a742-b40744eb065c”,“value”:{“ELEMENT”:“00000000-0000-0007-ffff-ffff0000004b”,“element-6066-11e4-a52e-4f735466cecf”:“00000000-0000-0007-ffff-ffff0000004b”}}
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“00000000-0000-0007-ffff-ffff0000004b”,“ELEMENT”:“00000000-0000-0007-ffff-ffff0000004b”}
[HTTP] <-- POST /session/cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff/element 200 10160 ms - 137
[HTTP]
[HTTP] --> POST /session/cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff/element/00000000-0000-0007-ffff-ffff0000004b/value
[HTTP] {“id”:“00000000-0000-0007-ffff-ffff0000004b”,“text”:“login with 5419107181”,“value”:[“l”,“o”,“g”,“i”,“n”," “,“w”,“i”,“t”,“h”,” “,“5”,“4”,“1”,“9”,“1”,“0”,“7”,“1”,“8”,“1”]}
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Calling AppiumDriver.setValue() with args: [[“l”,“o”,“g”,“i”,“n”,” “,“w”,“i”,“t”,“h”,” “,“5”,“4”,“1”,“9”,“1”,“0”,“7”,“1”,“8”,“1”],“00000000-0000-0007-ffff-ffff0000004b”,“cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff”]
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Matched ‘/element/00000000-0000-0007-ffff-ffff0000004b/value’ to command name ‘setValue’
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Added ‘value’ property [“l”,“o”,“g”,“i”,“n”,” “,“w”,“i”,“t”,“h”,” “,“5”,“4”,“1”,“9”,“1”,“0”,“7”,“1”,“8”,“1”] to ‘setValue’ request body
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Proxying [POST /element/00000000-0000-0007-ffff-ffff0000004b/value] to [POST http://127.0.0.1:10005/session/c4daa156-880a-49c5-a742-b40744eb065c/element/00000000-0000-0007-ffff-ffff0000004b/value] with body: {“elementId”:“00000000-0000-0007-ffff-ffff0000004b”,“text”:“login with 5419107181”,“replace”:false,“value”:[“l”,“o”,“g”,“i”,“n”,” “,“w”,“i”,“t”,“h”,” ",“5”,“4”,“1”,“9”,“1”,“0”,“7”,“1”,“8”,“1”]}
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Got response with status 200: {“sessionId”:“c4daa156-880a-49c5-a742-b40744eb065c”,“value”:null}
[debug] [AndroidUiautomator2Driver@762c (cbf9c9c1)] Responding to client with driver.setValue() result: null
[HTTP] <-- POST /session/cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff/element/00000000-0000-0007-ffff-ffff0000004b/value 200 60684 ms - 14
[HTTP]
[HTTP] --> POST /session/cbf9c9c1-9b29-4ecc-81f7-bc1d4fed6aff/appium/stop_recording_screen

I added waitForIdleTimeout to the capabilites side. I fixed fyi guys.

btw thanks for reply @mykola-mokhnach