Using iOS as SO to test, snapshot max depth doesn’t work after upgrading to react native 0.6.3. Using latest react native libraries (Before react native 0.6.3), was possible for us to locate elements using snapshotMax depth as capability.
Can you please help me to solve this issue?
Thanks,
1 you use latest appium and tries latest beta?
2 increasing depth does not have any effect? 100, 500 or 1000? All the same?
3 same story when yoh try see page source using appium command? Driver.getPageSource()?
Once we try to set snapshotMax depth higger than 65, the following error is shown
“The previously found element “Application ‘com.’” is not present in the current view anymore. Make sure the application UI has the expected state. Original error: Error kAXErrorIllegalArgument getting snapshot for element”
When we use the page Source, we can see all elements
Sorry for the delay in getting back to you, we’ve been trying to find elements using PageFactory.initElements and we interact with element using “RemoteWEbElements” as libraries.