WebDriverException: Message: A session is either terminated or not started

错误提示:

……

[debug] [XCUITest] Connection to WDA timed out
[debug] [iProxy] recv failed: Operation not permitted
[BaseDriver] Shutting down because we waited 60 seconds for a command
[Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability

……

 

WebDriverException: Message: A session is either terminated or not started

解决方案:增加字典newCommandTimeout值

posted @ 2018-02-07 16:44  蒋励  阅读(3925)  评论(0编辑  收藏  举报