How can we inspect accessibility identifiers?

Question:

1.how can we inspect accessibility identifiers???

  1. driver.findElementByAccessibilityId(“TextField1”);

in my eclipse i am unable to find ByAccessibilityId ,… only id is coming

which driver are u using? is AppiumDriver or AndroidDriver/IOSDriver ??

ios driver…please suggest

How do u initialize driver object? are u using AppiumDriver?

no i am not using appium driver…

i have created object of mobile driver.