Android - Appium takes a long time to search for elements

Hi everyone,

I am just new to Appium. Currently, I am working on automation with Appium on both Android and iOS.
I am seeing the issue with Appium on Android: it took long time for Appium to search elements. Even when the element is visible on the page already, it took like 2 minutes for Appium to find and interact with it.
I do not see this problem when running on Appium - iOS.
I used real devices on both iOS and Android. Tried on Android emulator and issue also happened.

Please help me resolve this issue.

Thanks!

I still encountered this issue when running on Android.
Here are my desire capibilites:
desired_caps = {
‘platformName’: ‘Android’,
‘platformVersion’: ‘10’,
‘deviceName’: ‘712fe8db’,
‘automationName’: ‘UiAutomator2’,
‘browserName’: ‘Chrome’}

I am running on Mac Appium 1.18.3, Node.js 12.8.1

Thank you.