????5??Instruments???????ú???????????????????????????????????????⌘R????

????6????????Scripts????????“Add > Create”?????μ?????

????7????????????????????????
var target = UIATarget.localTarget();
var app = target.frontMostApp();
var window = app.mainWindow();
target.logElementTree();

????8????????????ν??⌘R??????????棩??????????????????????????????????

?????????????????????????????????UIAutomation??????????