I'm new to Appium and was designing a simple testcase to find an element and to click on a mobile element. I used real devices(Android) instead of emulators. It took about 2 mins or more to find the element and click on the element. As choosing Xpath to find elements in Android is a slower strategy, I used Accessibility Id but couldn't find any difference in the performance.
newstart_ele=driver.find_element(by=AppiumBy.ACCESSIBILITY_ID,value="NewstartButton") newstart_ele.click()
Appium Python Client-> v2.7.1
1 Answer
Lowering waitForIdleTimeOut might help. See here.
ncG1vNJzZmirpJawrLvVnqmfpJ%2Bse6S7zGiorp2jqbawutJobm1qaGqBeISOmqepoaWieqK6w6umopxdqa6stc2gZKanopp6tbTAp2RrZZ2eu7bAxKxkraddm7avsIyco6Kbm2K8r3nAZqSompmhsm6xy56knqakYryvecA%3D