#2 楼 @chenhengjie123 可以转过来。
#10 楼 @gaby_chen linux 可以装在虚拟机里 没必要单独装 linux
info: [debug] Proxied response received with status 200: {"sessionId":"4cb6e549b
749aaa3a7e0bdb0e5e3a3d8","status":0,"value":null}
已经到 selendroid 了。 可惜,js 执行返回结果 null。
这只能算作灌水。
打不开啊
。。。稍微排版下呗。
这让我想起一个银行系统的密码问题,它的输入框没有限定位数,但是他校验的其实就是前六位。有人一直用 7 位数做密码,他不知道其实最后一位一直不起作用。
每一个发行版都有一个 dvd 的版本,包含所有的软件包
不是有 dvd 包的么?
怎么下载啊?
#5 楼 @chengaomin 不够健壮么?
instruments 挂了。
#5 楼 @weamylady node appium.js
#4 楼 @chenhengjie123 AndroidAtoms.java 谷歌下
#2 楼 @chenhengjie123 Selendroid 用的是 javascript 来做的。
层层剖析,写的真是太好了。
Selendroid 的 webview 的原理
private String executeJavascriptInWebView(final String script) {
result = null;
ServerInstrumentation.getInstance().getCurrentActivity().runOnUiThread(new Runnable() {
public void run() {
if (webview.getUrl() == null) {
}
return;
// seems to be needed
webview.setWebChromeClient(chromeClient);
webview.loadUrl("javascript:" + script);
}
});
long timeout = System.currentTimeMillis() + scriptTimeout;
synchronized (syncObject) {
while (result == null && (System.currentTimeMillis() < timeout)) {
try {
}
syncObject.wait(2000);
} catch (InterruptedException e) {
throw new SelendroidException(e);
}
}
return result;

移动时代,改名为 screen object
需要 root 么?