majd
majd

Reputation: 11

Is there a way to inspect native actions on IOS device, such as popup elements

I need a tool such as "uiautomatorviewer" for android to inspect native ios elements on IOS real device (such as ios warning popups). I have to get the "ID" of popup window elements like (Ok and Cancel) buttons.

Upvotes: 0

Views: 1116

Answers (2)

MrBlack
MrBlack

Reputation: 399

You can use Appium iOS Inspector:

  • download this repository
  • stop application during running test (e.g. set breakpoint in debug mode)
  • open "iOS Inspector.html" file in browser And you will see app xml structure.

Upvotes: 0

DonMag
DonMag

Reputation: 77462

You can use the Debug Hierarchy feature in Xcode:

enter image description here

Should give you all the info you need (unless you're trying to do something nefarious).

Upvotes: 1

Related Questions