Appium err was: Error: Screen did not unlock

regend · 2014年03月11日 · 最后由 regend 回复于 2014年03月11日 · 1181 次阅读

在跑 appium 自动的 demo 的时候,报如题的错误,但是我连接的真机并没有锁屏 请问是怎么回事呢
selenium.common.exceptions.WebDriverException: Message: u'A new session could not be created. (Original error: Screen did not unlock)'

共收到 4 条回复 时间 点赞

这个截图完全看不清内容啊。 logo 之类的请别贴图啊,贴日志。

selenium.common.exceptions.WebDriverException: Message: u'A new session could not be created. (Original error: Screen did not unlock)'

#1 楼 @lihuazhang 同样都是在解锁的状态,在真机上就会报这种错,用模拟器就没问题

不知道是不是版本的问题,我原来是 0.13 的版本,换成最新的 0.16 就没问题了

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册