Selendroid无法正常工作? [英] Selendroid is not working?

查看:73
本文介绍了Selendroid无法正常工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://selendroid.io/setup.html 这里给出一个示例,说明我在4444端口打开localhost时应该得到的内容.

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

但是我得到了:

{"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}

设备已连接到PC,没有屏幕锁,但未检测到.

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

怎么了?

(我没有使用Selenium或Selendroid的经验,现在开始尝试)

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

推荐答案

在设备上,您需要打开处于开发人员模式下的USB调试.

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

然后在命令提示符下键入命令:adb devices

then type command on command promt: adb devices

它应该显示连接的设备.

it should display attached devices.

这篇关于Selendroid无法正常工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆