Hello everyone,
I have recently started automating react native app on Android. The time to select the element and to click it is too high. When I used to automate native apps on Android it was so much faster. Not sure if this is because I am automating now React Native app… On average every command is taking around 10 seconds.
GET /wd/hub/session/327651e9-cd0f-45db-8809-3a30a09a32ae/element/3/location 200 10078 ms - 89
GET /wd/hub/session/327651e9-cd0f-45db-8809-3a30a09a32ae/element/3/size 200 20167 ms - 98
POST /wd/hub/session/327651e9-cd0f-45db-8809-3a30a09a32ae/element/3/click 200 10194 ms - 76
This slowness is also observable from Appium Desktop - Inspector which is running version 1.8.1
Locators strategies: AccessibilityId and XPATH both are slow.
Env:
Appium: 1.8.1
Appium Java Client: 6.1.0
JDK: 1.8