How to inspect element for ios 10 app..using appium 1.6.0 beta..?

How to inspect element for ios 10 app…using appium 1.6.0 beta…?Any tool for that?

@mohangs driver.getPagesource();

i posted an answer to this since it comes up a lot Inspecting iOS with Appium 1.6.0+

Different options of inspecting iOS 10 application could be found at here too.