Can't find the element using id but working fine with xpath
I am trying to find one element using id=search_icon, it is giving me no element found, but when I am using this xpath=//*[@resource-id=‘search_icon’], it is working fine. What could be the possible issue here? This is a react native app.


hi @zaid0080 . How does it look in locator finder? please share full name there. Also is it android / ios?
Hi @serhatbolsu Sorry for the late reply. It is coming as id only in the appium inspecter attached the screenshot and this is android app build in react native.

@zaid0080 likely you will find the answer here , #368
@serhat-onedio Have tried all the possible ways but still not working. Anyway Thanks fo the suggestion! : )
Due to lack of activity I am closing this ticket. If you feel this is still relevant please open a new one.
Note also that AppiumLibrary is currently going through some revisions to make it useful and compatible with current tools. If you want to see what we have planned review the milestones or reach out to the current maintainers.