我在尝试使用Appium测试iOS应用时遇到这些错误。任何人都可以指导我哪里出错了吗?
1)
debug: Starting Appium in pre-launch mode
error: Could not determine your device from Appium arguments or desired capabilities. Please make sure to specify the 'deviceName' capability
debug: Got configuration error, not starting session
debug: Cleaning up appium session
error: Could not pre-launch appium: Error: Could not determine your device from Appium arguments or desired capabilities. Please make sure to specify the 'deviceName' capability
info: Pre-launching app
2)
Could Not Launch Appium Inspector
Could not get list of sessions from Appium Server
Be sure the Appium server is running with an application opened by using the "App Path" parameter in Appium.app (along with package and activity for Android) or by connecting with selenium client and supplying this in the desired capabilities object.
答案 0 :(得分:0)
从第二个条目开始,我假设你正试图从appium中启动检查员。
我解决了这个问题,进入iOS设置并选择强制设备。之后,检查员开始很好。