无法在UI Automator Viewer中获取可点击按钮

时间:2017-10-03 12:32:37

标签: java selenium appium

我正在尝试为基于反应原生的应用程序自动化可点击按钮。我在UI Automator Viewer中停止获取可点击按钮,显示可点击按钮状态为FALSE。那么,您能否建议我使用Appium自动执行可点击操作的其他替代方法。

使用Selenium 3.5.3版本,Appium for Windows 1_4_16_1。

Image 1 enter image description here

Image2 enter image description here

1 个答案:

答案 0 :(得分:0)

首先:开始使用appium-desktop而不是旧的appium服务器1.4.16,但是1.7.x

第二:ReactNative应用程序被解释为原生应用程序,因此您需要在客户端使用 Appium ,而不是Selenium

最终:在appium-desktop中,您可以直接尝试点击按钮,查看它是否有效。