Snapshot max depth doesn't work after upgrading to react native 0.6.3

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?

can you locate anything using xCode inspector?

Hi @Aleksei, thanks for your reply!

Yes, we can locate all of those elements using xCode inspector

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()?

According to your reply:

  1. Yes
  2. 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”
  3. When we use the page Source, we can see all elements

ok. how you trying to find elements? and how you interact with element?
please do not send code:

click = WEB for mobile use touch. and better w3c.

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.