出现Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure报错

检查@BeforeClass里面是否配置了

driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), cap);

posted @ 2018-07-24 16:20  周依墨  阅读(2249)  评论(0编辑  收藏  举报