chrome sendKeys debug
定位元素OK,debug sendKeys方法到源码的RemoteWebDriverprotected Response execute(String driverCommand, Map<String, ?> parameters) {
Command command = new Command(sessionId, driverCommand, parameters);
Response response;
long start = System.currentTimeMillis();
String currentName = Thread.currentThread().getName();
Thread.currentThread().setName(
String.format("Forwarding %s on session %s to remote", driverCommand, sessionId));
try {
log(sessionId, command.getName(), command, When.BEFORE);
response = executor.execute(command);
异常都么有,就停在这边了,直到超时,有遇到的小伙伴没? http://blog.csdn.net/kaka1121/article/details/51850881 是不是异常没抓到,用Throwable试下看能不能抓到
页:
[1]