我正在尝试使用selendroid测试一个网站的功能。我首先启动模拟器:
emulator -avd <device>然后我启动了selendroid服务器:
java -jar selendroid-standalone-0.15.0-with-dependencies.jar在那之后,我启动了python测试:
python test.py然而,在一些执行之后,设备chrashes和selendroid找不到它。adb停止日志记录,然后我遇到“启动selendroid会话时出错”。
因此,我必须重新启动adb服务器。
是否有人知道如何保持设备连接?
发布于 2015-08-28 16:59:56
我假设您是从命令行启动selendroid服务器的。就用这个吧。
java -jar selendroid-standalone-0.15.0-with-dependencies.jar -keepAdbAlivehttps://stackoverflow.com/questions/30578561
复制相似问题