51Testing软件测试论坛

标题: chrome sendKeys debug [打印本页]

作者: o06v90o    时间: 2016-8-15 11:27
标题: chrome sendKeys debug
定位元素OK,debug sendKeys方法到源码的RemoteWebDriver

  protected 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);

异常都么有,就停在这边了,直到超时,有遇到的小伙伴没?
作者: 梦想家    时间: 2016-8-15 14:28
http://blog.csdn.net/kaka1121/article/details/51850881
作者: seagull1985    时间: 2016-8-15 14:48
是不是异常没抓到,用Throwable试下看能不能抓到




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2