Appium err was: Error: Screen did not unlock

regend · March 11, 2014 · Last by regend replied at March 11, 2014 · 1212 hits

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

共收到 4 条回复 时间 点赞

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

regend #2 · March 11, 2014 Author

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

regend #3 · March 11, 2014 Author

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

regend #4 · March 11, 2014 Author

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

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up