<Application>
<Window>
<AXScrollArea:"">
<AXWebArea:"">
<AXGroup>
<AXGroup:"">
<AXButton:"NEW">
上面是我可以看到的元素树,我想点击按钮。任何人都可以帮我做吗?
window.activate()
allUIElements=window.findAllR(AXRole='AXGroup')
callListItems=allUIElements[0].AXChildren[0].AXChildren[0].AXChildren[0].AXChildren
buttonsInRow=callListItems[logic].findAllR(AXRole='AXButton')