How to identify elements in a react native based iOS application

0
150

[ad_1]

I am facing issues while locating elements of iOS application via appium inspector.
The iOS application is build with react native.

Attached is the screenshot of appium inspector.

Recurring ios elements identified with content from the entrire page

Does anyone have idea of how to inspect such elements, or what changes do we need to make in the application so that i am able to inspect the elements.

I have tried using capability: snapshotMaxDepth= 50 till 100 but it does not help
Also the developer tried to add IDs to the elements but it still does not get reflected on the appium inspector: 
example of how id were added:- 

input box

            testID="inputLogin"

            accessibilityLabel="Phone Number"

Request Otp button

          testID="buttonRequestOtp"

          accessibilityLabel="Request Otp"

[ad_2]