When I use
setInterval on a page, Appium takes a very long time to find any element on that page regardless of which locator I use.
For example, it takes 10000ms to find by accessibility ID while
setInterval exists, but it become 200ms if I remove
How can I avoid this behavior without quitting using
setInterval on app side.
It’s the only issue on Android app and nothing problematic on iOS app.
- Platform you are automating (iOS or Android): Android (React Native)
- Appium version: v1.19.0
- Simulator/Emulator or Real Device: Both
- The language you are using for writing tests (client binding): Python
- Your OS: macOS 10.15.7