【发布时间】:2015-01-14 04:12:41
【问题描述】:
我想在运行时获取 android 元素的资源 id 和内容描述。
我试过这个:
myElement.getAttribute("resource-id")
myElement.getAttribute("content-desc")
但出现“this element does not have the resource-id attribute”错误。
有没有办法得到这个?
【问题讨论】:
标签: java android appium android-uiautomator