Selendroid is not working?

血红的双手。 提交于 2020-01-04 07:03:43

问题


http://selendroid.io/setup.html Here is given an example of what I should get when I open localhost at port 4444.

But instead I get:

{"value":{"os":{"name":"Windows 7","arch":"x86","version":"6.1"},"build":   
{"browserName":"selendroid","version":"0.10.0"},"supportedDevices":[],"supportedApps":
[{"mainActivity":"io.selendroid.androiddriver.WebViewActivity","appId":"io.selendroid.androiddriver:0.10.0",
"basePackage":"io.selendroid.androiddriver"}]},"status":0}

A device is connected to the PC and it has no screenlock, but it is not detected.

What's wrong?

(I don't have exp with Selenium or Selendroid and trying to start now)


回答1:


On your device, you need to switch ON the USB debugging which is under developer mode.

then type command on command promt: adb devices

it should display attached devices.



来源:https://stackoverflow.com/questions/23932163/selendroid-is-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!