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值
日行一善, 日写一撰