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值

上一篇:STM8S ADC初始化设置及应用


下一篇:由django请求生命周期延伸出的知识点大总结