alibaba / macaca

Automation solution for multi-platform. 多端自动化解决方案
https://macacajs.github.io
MIT License
3.17k stars 419 forks source link

请问通过定位如何获取web img的src? #1010

Closed tangoliver closed 1 year ago

tangoliver commented 1 year ago

请问通过定位如何获取web img的src

candialala commented 1 year ago

你好,来信已收到~~我会尽快查收并回复的! XMU Software 陈晓娟    

Jodeee commented 1 year ago

你好,可以通过 getProperty('src') 获取到对应元素相关的属性,具体实现可参考 API 文档

tangoliver commented 1 year ago

你好,可以通过 getProperty('src') 获取到对应元素相关的属性,具体实现可参考 API 文档

好的,感谢,问题已解决