I’m experiencing the following issue with appium and a react native app.
1º I locate some elements using appium Desktop (1.19.1)
@iOSXCUITFindBy(accessibility = “KnowTheApp_1_Card”)
@AndroidFindBy(accessibility = “KnowTheApp_1_Card”)
public MobileElement Know_The_App_1_Card;
2º Once I try to run my test and interact with those elements:
- Android: Works properly
- iOS: Can’t locate the element (It happen with more than one element on my app but not all of them)
After trying to run my test several times (always getting the same error, element is not visible) I get the elemet from the source page show as follow:
- XCUIElementTypeOther type=“XCUIElementTypeOther” name=“KnowTheApp_1_Card” enabled=“true” visible=“false” x=“20” y=“223” width=“312” height=“434” index=“0”
I wonder If the tag “visible=false” has something to do with that.
Can you please help me to solve this issue?