Best approaches to find elements in iOS , Android

Hi All,

Please share any documentation / info about best practices on identifying elements on iOS , Android native apps.

What tools can be used etc

e.g. I use IDE , firebug to get CSS , XPATH ( in case other basic options once are absent / not suitable )

Thanks in advance.


1 Like

I prefer setting ContentDescription on Android because this is an easy solution for 2 problems:

  1. Easy access in java to element(s) by driver.findElement(s)ByAccessabilityId()
  2. Won’t be any NAF (No Accessible Field)

Appium Instruments :slight_smile:

Please refer the below topic and let me know if any tools are there to identify WebView elements inside Hybrid App.

Thank you,