使用 appium 单击没有 resource-id 和 content-desc 的元素
Click on an element without resource-id and content-desc using appium
使用 Appium,我想点击网站上的按钮。但是按钮没有resource-id,content-desc。
那么,有什么方法可以让我们点击按钮。
我正在使用 python 语言编写脚本到 运行.this image has the description of various attributes of element
您可以查看基于web的nativeapp屏幕的webelement
您需要在有代码
的台式机上点击下方URL
chrome://inspect#devices
让用户使用 adb devices 连接您的设备并且同一屏幕必须打开移动屏幕。
详细文章:
https://www.toolsqa.com/mobile-automation/appium/inspect-elements-of-mobile-web-application/
使用 Appium,我想点击网站上的按钮。但是按钮没有resource-id,content-desc。 那么,有什么方法可以让我们点击按钮。 我正在使用 python 语言编写脚本到 运行.this image has the description of various attributes of element
您可以查看基于web的nativeapp屏幕的webelement
您需要在有代码
的台式机上点击下方URLchrome://inspect#devices
让用户使用 adb devices 连接您的设备并且同一屏幕必须打开移动屏幕。
详细文章:
https://www.toolsqa.com/mobile-automation/appium/inspect-elements-of-mobile-web-application/